home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-08-29 | 15.5 KB | [TEXT/edF6] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: **README**Game
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Aug 29 18:28:19 1996, modified Thu Aug 29 18:28:19 1996, creator 'edF6', type ASCII, 12813 bytes "**README**Game" , at 0x328d 2690 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [edF6] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 2a 2a 52 45 41 44 | 4d 45 2a 2a 47 61 6d 65 |..**READ|ME**Game|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 65 64 46 | 36 01 00 00 00 00 00 00 |.TEXTedF|6.......|
|00000050| 00 00 00 00 00 32 0d 00 | 00 0a 82 ae 4b ca 03 ae |.....2..|....K...|
|00000060| 4b ca 03 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |K.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 35 ae 00 00 |........|....5...|
|00000080| 49 6e 20 74 68 65 20 75 | 6e 72 65 67 69 73 74 65 |In the u|nregiste|
|00000090| 72 65 64 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 50 |red vers|ion of P|
|000000a0| 6f 77 65 72 46 61 6e 74 | 61 73 6d 2c 20 73 6f 75 |owerFant|asm, sou|
|000000b0| 72 63 65 20 63 6f 64 65 | 20 66 6f 72 20 74 68 69 |rce code| for thi|
|000000c0| 73 20 69 73 20 6e 6f 74 | 20 69 6e 63 6c 75 64 65 |s is not| include|
|000000d0| 64 20 66 6f 72 0d 74 77 | 6f 20 72 65 61 73 6f 6e |d for.tw|o reason|
|000000e0| 73 2e 20 0d 31 2e 20 54 | 68 65 20 64 65 6d 6f 20 |s. .1. T|he demo |
|000000f0| 63 61 6e 27 74 20 61 73 | 73 65 6d 62 6c 65 20 69 |can't as|semble i|
|00000100| 74 20 62 65 63 61 75 73 | 65 20 6f 66 20 61 20 63 |t becaus|e of a c|
|00000110| 6f 64 65 20 73 69 7a 65 | 20 6c 69 6d 69 74 61 74 |ode size| limitat|
|00000120| 69 6f 6e 2c 20 61 6e 64 | 20 0d 32 2e 20 57 65 20 |ion, and| .2. We |
|00000130| 68 61 76 65 20 74 6f 20 | 6b 65 65 70 20 74 68 65 |have to |keep the|
|00000140| 20 75 6e 72 65 67 69 73 | 74 65 72 65 64 20 76 65 | unregis|tered ve|
|00000150| 72 73 69 6f 6e 20 73 69 | 7a 65 20 64 6f 77 6e 20 |rsion si|ze down |
|00000160| 74 6f 20 61 20 6d 69 6e | 69 6d 75 6d 2e 0d 0d 2d |to a min|imum...-|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001c0| 2d 0d 0d 50 46 34 31 30 | 20 77 61 73 20 74 6f 20 |-..PF410| was to |
|000001d0| 62 65 20 72 65 6c 65 61 | 73 65 64 20 77 69 74 68 |be relea|sed with|
|000001e0| 20 6e 6f 20 6e 65 77 20 | 65 78 61 6d 70 6c 65 20 | no new |example |
|000001f0| 63 6f 64 65 2e 20 54 68 | 65 6e 20 61 20 66 65 77 |code. Th|en a few|
|00000200| 20 64 61 79 73 20 62 61 | 63 6b 20 49 20 77 61 73 | days ba|ck I was|
|00000210| 20 67 69 76 65 6e 0d 61 | 20 63 68 61 6c 6c 65 6e | given.a| challen|
|00000220| 67 65 2e 20 54 68 65 73 | 65 20 61 72 65 20 74 68 |ge. Thes|e are th|
|00000230| 65 20 6e 6f 74 65 73 20 | 66 72 6f 6d 20 74 68 61 |e notes |from tha|
|00000240| 74 20 63 68 61 6c 6c 65 | 6e 67 65 2e 20 0d 0d 54 |t challe|nge. ..T|
|00000250| 68 65 20 63 68 61 6c 6c | 65 6e 67 65 20 77 61 73 |he chall|enge was|
|00000260| 20 74 6f 20 77 72 69 74 | 65 20 74 68 65 20 62 61 | to writ|e the ba|
|00000270| 73 69 63 73 20 6f 66 20 | 61 20 6e 61 74 69 76 65 |sics of |a native|
|00000280| 20 73 70 72 69 74 65 20 | 62 61 73 65 64 20 67 61 | sprite |based ga|
|00000290| 6d 65 20 69 6e 20 32 34 | 20 68 6f 75 72 73 20 61 |me in 24| hours a|
|000002a0| 6e 64 20 74 68 69 73 20 | 0d 69 73 20 74 68 65 20 |nd this |.is the |
|000002b0| 72 65 73 75 6c 74 2e 20 | 0d 0d 49 74 20 73 74 61 |result. |..It sta|
|000002c0| 72 74 73 20 6f 66 66 20 | 37 20 68 6f 75 72 73 20 |rts off |7 hours |
|000002d0| 69 6e 2c 20 61 73 20 74 | 68 65 20 66 69 72 73 74 |in, as t|he first|
|000002e0| 20 73 65 76 65 6e 20 68 | 6f 75 72 73 20 77 65 72 | seven h|ours wer|
|000002f0| 65 20 77 72 69 74 69 6e | 67 20 74 68 65 20 62 61 |e writin|g the ba|
|00000300| 73 69 63 20 73 63 72 65 | 65 6e 20 73 70 6c 61 74 |sic scre|en splat|
|00000310| 20 0d 61 6e 64 20 72 6f | 75 74 69 6e 65 73 2e 0d | .and ro|utines..|
|00000320| 0d 42 69 67 20 6e 6f 74 | 65 20 66 6f 72 20 73 70 |.Big not|e for sp|
|00000330| 6c 61 74 73 20 2d 20 20 | 61 20 72 65 61 64 20 6f |lats - |a read o|
|00000340| 72 20 77 72 69 74 65 0d | 74 6f 20 6d 65 6d 6f 72 |r write.|to memor|
|00000350| 79 20 77 69 74 68 20 74 | 68 65 20 66 6c 6f 61 74 |y with t|he float|
|00000360| 69 6e 67 20 64 6f 75 62 | 6c 65 20 69 6e 73 74 72 |ing doub|le instr|
|00000370| 75 63 74 69 6f 6e 73 20 | 77 69 6c 6c 20 63 61 75 |uctions |will cau|
|00000380| 73 65 20 61 20 6d 65 6d | 6f 72 79 20 65 78 63 65 |se a mem|ory exce|
|00000390| 70 74 69 6f 6e 20 6f 6e | 0d 36 30 34 27 73 2c 20 |ption on|.604's, |
|000003a0| 73 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 79 6f 75 |so make |sure you|
|000003b0| 20 61 72 65 20 38 20 61 | 6c 69 67 6e 65 64 20 69 | are 8 a|ligned i|
|000003c0| 66 20 75 73 69 6e 67 20 | 74 68 65 73 65 20 69 6e |f using |these in|
|000003d0| 73 74 72 75 63 74 69 6f | 6e 73 20 2d 20 73 65 65 |structio|ns - see|
|000003e0| 20 74 68 65 20 73 63 72 | 65 65 6e 0d 73 70 6c 61 | the scr|een.spla|
|000003f0| 74 20 61 6e 64 20 69 6e | 69 74 20 63 6f 64 65 20 |t and in|it code |
|00000400| 66 6f 72 20 75 73 61 67 | 65 2e 2e 2e 0d 0d 41 6e |for usag|e.....An|
|00000410| 6f 74 68 65 72 20 6e 6f | 74 65 20 2d 20 69 6e 20 |other no|te - in |
|00000420| 74 68 69 73 20 70 61 72 | 74 69 63 75 6c 61 72 20 |this par|ticular |
|00000430| 65 78 61 6d 70 6c 65 20 | 74 68 65 20 4d 4d 55 20 |example |the MMU |
|00000440| 77 61 73 20 6c 65 74 74 | 69 6e 67 20 6d 65 20 67 |was lett|ing me g|
|00000450| 65 74 20 61 77 61 79 20 | 77 69 74 68 20 70 61 73 |et away |with pas|
|00000460| 73 69 6e 67 20 61 20 0d | 72 65 61 6c 6c 79 20 62 |sing a .|really b|
|00000470| 61 64 20 61 64 64 72 65 | 73 73 20 74 6f 20 63 6c |ad addre|ss to cl|
|00000480| 65 61 72 5f 69 63 6c 38 | 20 75 6e 74 69 6c 20 49 |ear_icl8| until I|
|00000490| 20 73 77 69 74 63 68 65 | 64 20 56 4d 20 6f 6e 20 | switche|d VM on |
|000004a0| 2d 20 74 68 65 6e 20 74 | 68 65 20 6d 61 63 68 69 |- then t|he machi|
|000004b0| 6e 65 20 63 72 61 73 68 | 65 64 2e 0d 42 65 20 76 |ne crash|ed..Be v|
|000004c0| 65 72 79 20 73 75 72 65 | 20 74 6f 20 63 68 65 63 |ery sure| to chec|
|000004d0| 6b 20 62 6f 74 68 20 77 | 69 74 68 20 56 4d 20 6f |k both w|ith VM o|
|000004e0| 6e 20 61 6e 64 20 6f 66 | 66 20 61 73 20 74 68 65 |n and of|f as the|
|000004f0| 20 4d 4d 55 20 62 65 68 | 61 76 65 73 20 64 69 66 | MMU beh|aves dif|
|00000500| 66 65 72 65 6e 74 6c 79 | 2e 0d 0d 2d 2d 2d 2d 2d |ferently|...-----|
|00000510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000520| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000530| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000550| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0d 4f 6b 2c 20 |--------|--..Ok, |
|00000560| 37 20 68 6f 75 72 73 20 | 69 6e 20 61 6e 64 20 49 |7 hours |in and I|
|00000570| 27 6d 20 77 6f 72 6b 69 | 6e 67 20 6f 6e 20 74 68 |'m worki|ng on th|
|00000580| 65 20 70 6c 61 79 65 72 | 20 62 75 6c 6c 65 74 73 |e player| bullets|
|00000590| 2e 20 48 61 76 65 20 64 | 65 66 69 6e 65 64 20 66 |. Have d|efined f|
|000005a0| 6f 75 72 20 61 72 72 61 | 79 73 2c 0d 65 61 63 68 |our arra|ys,.each|
|000005b0| 20 31 30 20 68 61 6c 66 | 73 20 65 61 63 68 2e 20 | 10 half|s each. |
|000005c0| 78 2c 79 2c 6f 6c 64 5f | 78 20 61 6e 64 20 6f 6c |x,y,old_|x and ol|
|000005d0| 64 5f 79 20 66 6f 72 20 | 65 61 63 68 20 62 75 6c |d_y for |each bul|
|000005e0| 6c 65 74 2e 0d 54 68 65 | 20 74 68 65 6f 72 79 20 |let..The| theory |
|000005f0| 69 73 20 74 68 61 74 20 | 77 68 65 6e 20 77 65 20 |is that |when we |
|00000600| 70 72 65 73 73 20 74 68 | 65 20 6d 6f 75 73 65 20 |press th|e mouse |
|00000610| 62 75 74 74 6f 6e 2c 20 | 74 68 65 20 79 5f 61 72 |button, |the y_ar|
|00000620| 72 61 79 20 69 73 20 73 | 65 61 72 63 68 65 64 20 |ray is s|earched |
|00000630| 66 6f 72 20 61 6e 20 65 | 6d 70 74 79 20 73 6c 6f |for an e|mpty slo|
|00000640| 74 0d 20 2d 20 74 68 61 | 74 20 69 73 20 61 6e 79 |t. - tha|t is any|
|00000650| 20 73 6c 6f 74 20 63 6f | 6e 74 61 69 6e 69 6e 67 | slot co|ntaining|
|00000660| 20 2d 31 2e 20 57 65 20 | 73 74 6f 72 65 20 78 20 | -1. We |store x |
|00000670| 61 6e 64 20 79 20 63 6f | 6f 72 64 73 20 6f 66 20 |and y co|ords of |
|00000680| 74 68 65 20 6c 65 66 74 | 20 67 75 6e 20 69 6e 20 |the left| gun in |
|00000690| 74 68 65 73 65 20 61 72 | 72 61 79 73 2e 0d 43 61 |these ar|rays..Ca|
|000006a0| 6c 63 5f 62 75 6c 6c 65 | 74 73 20 73 74 65 70 73 |lc_bulle|ts steps|
|000006b0| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 79 20 61 | through| the y a|
|000006c0| 72 72 61 79 20 6c 6f 6f | 6b 69 6e 67 20 66 6f 72 |rray loo|king for|
|000006d0| 20 65 6e 74 72 69 65 73 | 20 74 68 61 74 20 61 72 | entries| that ar|
|000006e0| 65 20 6e 6f 74 20 2d 31 | 2e 20 54 68 65 73 65 20 |e not -1|. These |
|000006f0| 61 72 65 0d 76 61 6c 69 | 64 20 79 20 63 6f 6f 72 |are.vali|d y coor|
|00000700| 64 73 2e 20 54 68 65 20 | 79 20 63 6f 6f 72 64 20 |ds. The |y coord |
|00000710| 69 73 20 64 65 63 72 65 | 6d 65 6e 74 65 64 20 62 |is decre|mented b|
|00000720| 79 20 31 30 2c 20 74 68 | 65 6e 20 63 68 65 63 6b |y 10, th|en check|
|00000730| 65 64 20 61 67 61 69 6e | 73 74 20 32 30 2e 0d 49 |ed again|st 20..I|
|00000740| 66 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 20 32 |f greate|r than 2|
|00000750| 30 20 74 68 65 6e 20 64 | 6f 20 74 68 65 20 6e 65 |0 then d|o the ne|
|00000760| 78 74 20 62 75 6c 6c 65 | 74 20 73 6c 6f 74 2e 20 |xt bulle|t slot. |
|00000770| 49 66 20 6c 65 73 73 20 | 74 68 61 6e 20 32 30 20 |If less |than 20 |
|00000780| 74 68 65 6e 20 64 65 6c | 65 74 65 20 74 68 65 20 |then del|ete the |
|00000790| 62 75 6c 6c 65 74 20 0d | 61 6e 64 20 73 65 74 20 |bullet .|and set |
|000007a0| 74 68 69 73 20 79 5f 63 | 6f 6f 72 64 20 74 6f 20 |this y_c|oord to |
|000007b0| 2d 31 2e 0d 0d 54 68 69 | 73 20 73 65 74 20 75 70 |-1...Thi|s set up|
|000007c0| 20 6c 69 6d 69 74 73 20 | 74 68 65 20 6e 75 6d 62 | limits |the numb|
|000007d0| 65 72 20 6f 66 20 70 6c | 61 79 65 72 20 62 75 6c |er of pl|ayer bul|
|000007e0| 6c 65 74 73 20 6f 6e 20 | 73 63 72 65 65 6e 20 74 |lets on |screen t|
|000007f0| 6f 20 31 30 20 28 69 6e | 20 74 68 65 20 65 71 75 |o 10 (in| the equ|
|00000800| 61 74 65 73 20 66 69 6c | 65 29 2e 20 0d 42 65 63 |ates fil|e). .Bec|
|00000810| 61 75 73 65 20 74 68 65 | 20 67 75 6e 20 77 69 6c |ause the| gun wil|
|00000820| 6c 0d 61 75 74 6f 20 72 | 65 70 65 61 74 2c 20 61 |l.auto r|epeat, a|
|00000830| 66 74 65 72 20 66 69 72 | 69 6e 67 20 61 20 62 75 |fter fir|ing a bu|
|00000840| 6c 6c 65 74 20 77 65 20 | 73 65 74 20 61 20 64 65 |llet we |set a de|
|00000850| 6c 61 79 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |lay so t|hat the |
|00000860| 66 69 72 65 20 72 6f 75 | 74 69 6e 65 20 69 73 6e |fire rou|tine isn|
|00000870| 27 74 20 63 68 65 63 6b | 65 64 0d 61 67 61 69 6e |'t check|ed.again|
|00000880| 20 75 6e 74 69 6c 20 74 | 68 69 73 20 63 6f 75 6e | until t|his coun|
|00000890| 74 65 72 20 72 75 6e 73 | 20 6f 75 74 2e 0d 0d 4e |ter runs| out...N|
|000008a0| 65 78 74 2c 20 67 65 74 | 20 69 74 20 74 6f 20 66 |ext, get| it to f|
|000008b0| 69 72 65 20 74 77 6f 20 | 62 75 6c 6c 65 74 73 20 |ire two |bullets |
|000008c0| 61 74 20 74 68 65 20 73 | 61 6d 65 20 74 69 6d 65 |at the s|ame time|
|000008d0| 20 2d 20 6f 6e 65 20 66 | 72 6f 6d 20 65 61 63 68 | - one f|rom each|
|000008e0| 20 67 75 6e 2e 20 49 20 | 74 68 69 6e 6b 20 74 68 | gun. I |think th|
|000008f0| 61 74 20 74 68 69 73 20 | 69 73 0d 73 69 6d 70 6c |at this |is.simpl|
|00000900| 79 20 61 20 63 61 73 65 | 20 6f 66 20 61 6c 74 65 |y a case| of alte|
|00000910| 72 69 6e 67 20 74 68 65 | 20 63 6f 6f 72 64 73 20 |ring the| coords |
|00000920| 77 68 65 6e 20 77 65 20 | 66 69 72 65 20 61 6e 64 |when we |fire and|
|00000930| 20 73 61 76 69 6e 67 20 | 69 74 20 69 6e 20 74 68 | saving |it in th|
|00000940| 65 20 6e 65 78 74 20 78 | 20 61 6e 64 20 79 0d 73 |e next x| and y.s|
|00000950| 6c 6f 74 2e 0d 0d 57 65 | 6c 6c 2c 20 61 70 61 72 |lot...We|ll, apar|
|00000960| 65 6e 74 6c 79 20 6e 6f | 74 21 20 54 68 65 20 66 |ently no|t! The f|
|00000970| 69 72 73 74 20 62 75 6c | 6c 65 74 20 63 6f 6d 65 |irst bul|let come|
|00000980| 73 20 6f 75 74 20 6f 66 | 20 74 68 65 20 6c 65 66 |s out of| the lef|
|00000990| 74 20 68 61 6e 64 20 67 | 75 6e 20 61 73 20 69 74 |t hand g|un as it|
|000009a0| 20 73 68 6f 75 6c 64 2c | 20 62 75 74 20 74 68 65 | should,| but the|
|000009b0| 0d 6f 74 68 65 72 20 63 | 6f 6d 65 73 20 6f 75 74 |.other c|omes out|
|000009c0| 20 6f 66 20 74 68 65 20 | 62 6f 74 74 6f 6d 20 6f | of the |bottom o|
|000009d0| 66 20 74 68 65 20 73 63 | 72 65 65 6e 20 64 69 73 |f the sc|reen dis|
|000009e0| 70 6c 61 63 65 64 20 6c | 65 66 74 20 62 79 20 73 |placed l|eft by s|
|000009f0| 6f 6d 65 20 32 30 30 20 | 70 69 78 65 6c 73 21 20 |ome 200 |pixels! |
|00000a00| 45 68 3f 0d 0d 54 75 72 | 6e 73 20 6f 75 74 20 74 |Eh?..Tur|ns out t|
|00000a10| 6f 20 6a 75 73 74 20 68 | 61 76 65 20 62 65 65 6e |o just h|ave been|
|00000a20| 20 62 61 64 20 6d 61 74 | 68 73 20 2d 20 68 6f 77 | bad mat|hs - how|
|00000a30| 65 76 65 72 2c 20 49 20 | 64 69 64 20 74 68 69 6e |ever, I |did thin|
|00000a40| 6b 20 69 74 20 62 65 20 | 61 20 67 6f 6f 64 20 69 |k it be |a good i|
|00000a50| 64 65 61 20 74 6f 20 68 | 61 76 65 20 74 68 65 20 |dea to h|ave the |
|00000a60| 0d 67 75 6e 73 20 61 6c | 74 65 72 6e 61 74 65 2c |.guns al|ternate,|
|00000a70| 20 6c 65 66 74 2f 72 69 | 67 68 74 20 73 6f 20 72 | left/ri|ght so r|
|00000a80| 65 64 75 63 65 64 20 74 | 68 65 20 66 69 72 65 20 |educed t|he fire |
|00000a90| 64 65 6c 61 79 20 74 6f | 20 34 20 63 79 63 6c 65 |delay to| 4 cycle|
|00000aa0| 73 20 61 6e 64 20 69 6e | 74 72 6f 64 75 63 65 64 |s and in|troduced|
|00000ab0| 20 61 20 76 61 72 69 61 | 62 6c 65 20 2d 20 74 75 | a varia|ble - tu|
|00000ac0| 72 72 65 74 3f 0d 77 68 | 69 63 68 20 6d 61 6b 65 |rret?.wh|ich make|
|00000ad0| 73 20 74 68 65 20 72 6f | 75 74 69 6e 65 20 61 6c |s the ro|utine al|
|00000ae0| 74 65 72 6e 61 74 65 20 | 6c 65 66 74 2f 72 69 67 |ternate |left/rig|
|00000af0| 68 74 20 67 75 6e 73 20 | 28 77 68 69 63 68 20 77 |ht guns |(which w|
|00000b00| 69 6c 6c 20 6d 61 6b 65 | 20 66 6f 72 20 62 65 74 |ill make| for bet|
|00000b10| 74 65 72 20 73 6f 75 6e | 64 21 29 0d 0d 4f 6b 2c |ter soun|d!)..Ok,|
|00000b20| 20 6e 6f 77 20 49 27 76 | 65 20 61 64 64 65 64 20 | now I'v|e added |
|00000b30| 61 6e 20 65 71 75 61 74 | 65 73 20 66 69 6c 65 20 |an equat|es file |
|00000b40| 74 6f 20 74 68 65 20 70 | 72 6f 6a 65 63 74 2c 20 |to the p|roject, |
|00000b50| 61 6e 64 20 72 65 64 65 | 66 69 6e 65 64 20 74 68 |and rede|fined th|
|00000b60| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 75 6c 6c |e number| of bull|
|00000b70| 65 74 73 20 74 6f 20 0d | 32 30 2e 20 49 20 6e 6f |ets to .|20. I no|
|00000b80| 74 69 63 65 64 20 74 68 | 61 74 20 74 68 65 20 62 |ticed th|at the b|
|00000b90| 75 6c 6c 65 74 73 20 72 | 6f 75 74 69 6e 65 73 20 |ullets r|outines |
|00000ba0| 77 65 72 65 20 6e 6f 74 | 20 77 6f 72 6b 69 6e 67 |were not| working|
|00000bb0| 20 72 69 67 68 74 2c 20 | 69 6e 20 74 68 61 74 20 | right, |in that |
|00000bc0| 61 66 74 65 72 20 74 68 | 65 20 6d 61 78 20 6e 75 |after th|e max nu|
|00000bd0| 6d 62 65 72 0d 68 61 64 | 20 62 65 65 6e 20 66 69 |mber.had| been fi|
|00000be0| 72 65 64 2c 20 74 68 65 | 20 67 75 6e 73 20 77 6f |red, the| guns wo|
|00000bf0| 75 6c 64 20 6e 6f 74 20 | 66 69 72 65 20 75 6e 74 |uld not |fire unt|
|00000c00| 69 6c 20 74 68 65 20 6c | 61 73 74 20 62 75 6c 6c |il the l|ast bull|
|00000c10| 65 74 20 63 6c 65 61 72 | 65 64 20 74 68 65 20 73 |et clear|ed the s|
|00000c20| 63 72 65 65 6e 2e 20 54 | 68 69 73 20 0d 77 61 73 |creen. T|his .was|
|00000c30| 20 74 72 61 63 65 64 20 | 74 6f 20 74 68 65 20 63 | traced |to the c|
|00000c40| 6f 6d 70 61 72 65 20 74 | 6f 20 2d 31 20 63 6f 6e |ompare t|o -1 con|
|00000c50| 64 69 74 69 6f 6e 61 6c | 20 62 72 61 6e 63 68 20 |ditional| branch |
|00000c60| 69 6e 20 66 69 6e 64 5f | 73 6c 6f 74 20 62 65 69 |in find_|slot bei|
|00000c70| 6e 67 20 74 68 65 20 77 | 72 6f 6e 67 20 77 61 79 |ng the w|rong way|
|00000c80| 0d 72 6f 75 6e 64 20 2d | 20 73 68 6f 75 6c 64 27 |.round -| should'|
|00000c90| 76 65 20 62 65 65 6e 20 | 61 20 62 65 71 21 0d 0d |ve been |a beq!..|
|00000ca0| 4e 6f 74 69 63 65 64 20 | 74 68 61 74 20 74 68 65 |Noticed |that the|
|00000cb0| 20 70 6c 61 79 65 72 73 | 20 73 68 69 70 20 69 73 | players| ship is|
|00000cc0| 20 73 6c 69 67 68 74 6c | 79 20 62 6c 61 6e 6b 69 | slightl|y blanki|
|00000cd0| 6e 67 20 6f 75 74 20 74 | 68 65 20 62 75 6c 6c 65 |ng out t|he bulle|
|00000ce0| 74 73 20 69 6e 20 74 68 | 65 20 66 69 72 73 74 20 |ts in th|e first |
|00000cf0| 66 72 61 6d 65 20 6f 66 | 0d 62 75 6c 6c 65 74 20 |frame of|.bullet |
|00000d00| 6d 6f 76 65 6d 65 6e 74 | 20 6f 6e 20 74 68 65 20 |movement| on the |
|00000d10| 72 69 67 68 74 20 68 61 | 6e 64 20 73 69 7a 65 2e |right ha|nd size.|
|00000d20| 20 54 68 69 73 20 69 73 | 20 62 65 63 61 75 73 65 | This is| because|
|00000d30| 20 49 27 6d 20 73 69 6d | 70 6c 79 20 63 6c 65 61 | I'm sim|ply clea|
|00000d40| 72 69 6e 67 20 74 68 65 | 20 77 68 6f 6c 65 0d 33 |ring the| whole.3|
|00000d50| 32 20 62 69 74 73 20 77 | 69 64 74 68 20 62 65 66 |2 bits w|idth bef|
|00000d60| 6f 69 72 65 20 64 72 61 | 77 69 6e 67 20 61 20 62 |oire dra|wing a b|
|00000d70| 75 6c 6c 65 74 2c 20 77 | 68 65 6e 20 69 6e 20 66 |ullet, w|hen in f|
|00000d80| 61 63 74 20 49 20 6f 6e | 6c 79 20 6e 65 65 64 20 |act I on|ly need |
|00000d90| 74 6f 20 63 6c 65 61 72 | 20 74 68 65 20 62 75 6c |to clear| the bul|
|00000da0| 6c 65 74 20 77 69 64 74 | 68 0d 77 68 69 63 68 20 |let widt|h.which |
|00000db0| 69 73 20 74 68 72 65 65 | 2e 20 53 6f 2c 20 62 79 |is three|. So, by|
|00000dc0| 20 6d 6f 76 69 6e 67 20 | 74 68 65 20 62 75 6c 6c | moving |the bull|
|00000dd0| 65 74 20 6f 76 65 72 20 | 74 6f 20 74 68 65 20 66 |et over |to the f|
|00000de0| 61 72 20 6c 65 66 74 20 | 6f 66 20 74 68 65 20 69 |ar left |of the i|
|00000df0| 63 6c 38 20 61 6e 64 0d | 63 68 61 6e 67 69 6e 67 |cl8 and.|changing|
|00000e00| 20 63 6c 65 61 72 20 61 | 6e 64 20 70 72 69 6e 74 | clear a|nd print|
|00000e10| 20 69 63 6c 38 5f 6c 69 | 74 74 6c 65 2c 20 49 27 | icl8_li|ttle, I'|
|00000e20| 6c 6c 20 67 61 69 6e 20 | 73 70 65 65 64 20 61 6e |ll gain |speed an|
|00000e30| 64 20 72 65 6d 6f 76 65 | 20 74 68 65 20 76 69 73 |d remove| the vis|
|00000e40| 75 61 6c 20 69 6e 74 65 | 72 66 65 72 65 6e 63 65 |ual inte|rference|
|00000e50| 2e 0d 0d 4f 6b 2c 20 73 | 6f 20 6d 6f 64 69 66 69 |...Ok, s|o modifi|
|00000e60| 65 64 20 62 6f 74 68 20 | 63 6c 65 61 72 20 61 6e |ed both |clear an|
|00000e70| 64 20 70 72 69 6e 74 20 | 2d 20 77 68 61 74 20 49 |d print |- what I|
|00000e80| 20 64 69 64 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 | did to |make sur|
|00000e90| 65 20 69 74 20 77 61 73 | 20 77 6f 72 6b 69 6e 67 |e it was| working|
|00000ea0| 20 70 72 6f 70 65 72 6c | 79 20 77 61 73 0d 63 68 | properl|y was.ch|
|00000eb0| 61 6e 67 65 20 74 68 65 | 20 62 61 63 6b 67 72 6f |ange the| backgro|
|00000ec0| 75 6e 64 20 63 6f 6c 6f | 75 72 20 6f 66 20 74 68 |und colo|ur of th|
|00000ed0| 65 20 62 75 6c 6c 65 74 | 20 66 72 6f 6d 20 7a 65 |e bullet| from ze|
|00000ee0| 72 6f 20 74 6f 20 31 2c | 20 73 6f 20 49 20 63 6f |ro to 1,| so I co|
|00000ef0| 75 6c 64 20 73 65 65 20 | 68 6f 77 20 6d 75 63 68 |uld see |how much|
|00000f00| 20 77 61 73 20 62 65 69 | 6e 67 20 0d 70 72 69 6e | was bei|ng .prin|
|00000f10| 74 65 64 2e 20 41 6c 73 | 6f 20 74 68 65 20 73 70 |ted. Als|o the sp|
|00000f20| 72 69 74 65 20 68 61 73 | 20 62 65 65 6e 20 72 65 |rite has| been re|
|00000f30| 64 75 63 65 64 20 74 6f | 20 74 68 72 65 65 20 70 |duced to| three p|
|00000f40| 69 78 65 6c 73 20 77 69 | 64 65 20 61 73 20 69 74 |ixels wi|de as it|
|00000f50| 20 6c 6f 6f 6b 73 20 62 | 65 74 74 65 72 2c 20 61 | looks b|etter, a|
|00000f60| 6e 64 0d 74 68 65 20 70 | 72 69 6e 74 20 61 64 6a |nd.the p|rint adj|
|00000f70| 75 73 74 65 64 20 61 63 | 63 6f 72 64 69 6e 67 6c |usted ac|cordingl|
|00000f80| 79 0d 0d 4f 6b 2c 20 69 | 74 27 73 20 6d 69 64 6e |y..Ok, i|t's midn|
|00000f90| 69 67 68 74 2c 20 77 68 | 69 63 68 20 69 73 20 38 |ight, wh|ich is 8|
|00000fa0| 20 68 6f 75 72 73 20 69 | 6e 2e 20 54 68 65 20 70 | hours i|n. The p|
|00000fb0| 6c 61 79 65 72 73 20 62 | 75 6c 6c 65 74 73 20 61 |layers b|ullets a|
|00000fc0| 72 65 20 6e 6f 77 20 66 | 69 6e 69 73 68 65 64 2e |re now f|inished.|
|00000fd0| 0d 0d 4e 6f 77 2c 20 6f | 6e 74 6f 20 74 68 65 20 |..Now, o|nto the |
|00000fe0| 6e 61 73 74 69 65 73 2e | 20 49 20 68 61 76 65 20 |nasties.| I have |
|00000ff0| 74 6f 20 64 65 63 69 64 | 65 20 6f 6e 20 74 68 65 |to decid|e on the|
|00001000| 20 6d 61 78 69 6d 75 6d | 20 6f 6e 20 73 63 72 65 | maximum| on scre|
|00001010| 65 6e 20 61 6e 79 20 61 | 6e 79 20 6f 6e 65 20 74 |en any a|ny one t|
|00001020| 69 6d 65 2e 0d 0d 46 6f | 72 20 6e 6f 77 20 49 27 |ime...Fo|r now I'|
|00001030| 6c 6c 20 73 61 79 20 32 | 30 2e 20 45 61 63 68 20 |ll say 2|0. Each |
|00001040| 6d 6f 6e 73 74 65 72 20 | 69 73 20 6f 6e 65 20 73 |monster |is one s|
|00001050| 69 6e 67 6c 65 20 69 63 | 6c 38 2c 20 73 6f 20 77 |ingle ic|l8, so w|
|00001060| 65 20 6e 65 65 64 20 34 | 20 61 72 72 61 79 73 20 |e need 4| arrays |
|00001070| 61 67 61 69 6e 2c 0d 78 | 2c 79 2c 6f 6c 64 5f 78 |again,.x|,y,old_x|
|00001080| 20 61 6e 64 20 6f 6c 64 | 5f 79 20 2d 20 65 61 63 | and old|_y - eac|
|00001090| 68 20 73 69 7a 65 64 20 | 74 6f 20 6e 75 6d 62 65 |h sized |to numbe|
|000010a0| 72 5f 6d 6f 6e 73 74 65 | 72 73 2e 0d 0d 57 65 20 |r_monste|rs...We |
|000010b0| 6e 65 65 64 20 74 68 72 | 65 65 20 72 6f 75 74 69 |need thr|ee routi|
|000010c0| 6e 65 73 2e 20 4f 6e 65 | 20 74 6f 20 69 6e 69 74 |nes. One| to init|
|000010d0| 20 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 73 2e 20 | the pos|itions. |
|000010e0| 4f 6e 65 20 74 6f 20 63 | 61 6c 63 75 6c 61 74 65 |One to c|alculate|
|000010f0| 20 70 6f 73 69 74 69 6f | 6e 73 2c 20 61 6e 64 20 | positio|ns, and |
|00001100| 6f 6e 65 20 74 6f 20 0d | 64 72 61 77 20 74 68 65 |one to .|draw the|
|00001110| 20 6c 69 74 74 6c 65 20 | 62 6c 69 67 68 74 65 72 | little |blighter|
|00001120| 73 20 28 65 72 61 73 69 | 6e 67 20 74 68 65 20 6f |s (erasi|ng the o|
|00001130| 6c 64 20 6f 6e 65 73 20 | 66 69 72 73 74 20 6f 62 |ld ones |first ob|
|00001140| 76 69 6f 75 73 6c 79 29 | 20 49 74 27 73 20 69 6d |viously)| It's im|
|00001150| 70 6f 72 74 61 6e 74 2c | 20 61 73 20 74 68 65 20 |portant,| as the |
|00001160| 0d 6d 6f 6e 73 74 65 72 | 73 20 63 61 6e 20 63 72 |.monster|s can cr|
|00001170| 6f 73 73 20 65 61 63 68 | 20 6f 74 68 65 72 2c 20 |oss each| other, |
|00001180| 74 6f 20 65 72 61 73 65 | 20 61 6c 6c 20 6f 66 20 |to erase| all of |
|00001190| 74 68 65 6d 20 69 6e 20 | 6f 6e 65 20 67 6f 2e 0d |them in |one go..|
|000011a0| 0d 54 6f 20 62 65 20 68 | 6f 6e 65 73 74 2c 20 61 |.To be h|onest, a|
|000011b0| 74 20 74 68 69 73 20 73 | 74 61 67 65 2c 20 49 27 |t this s|tage, I'|
|000011c0| 6c 6c 20 62 65 20 68 61 | 70 70 79 20 6a 75 73 74 |ll be ha|ppy just|
|000011d0| 20 74 6f 20 64 72 61 77 | 20 74 68 65 6d 20 61 6e | to draw| them an|
|000011e0| 64 20 67 65 74 20 61 20 | 66 72 61 6d 65 20 74 69 |d get a |frame ti|
|000011f0| 6d 69 6e 67 2c 20 74 68 | 65 6e 0d 61 64 6a 75 73 |ming, th|en.adjus|
|00001200| 74 20 74 68 65 20 6d 61 | 78 69 6d 75 6d 20 6e 75 |t the ma|ximum nu|
|00001210| 6d 62 65 72 20 61 63 63 | 6f 72 64 69 6e 67 6c 79 |mber acc|ordingly|
|00001220| 2e 0d 0d 53 6f 2c 20 66 | 69 72 73 74 20 74 6f 20 |...So, f|irst to |
|00001230| 69 6e 69 74 20 6d 6f 6e | 73 74 65 72 73 2e 20 41 |init mon|sters. A|
|00001240| 73 20 74 68 69 73 20 69 | 73 20 61 20 73 69 6d 70 |s this i|s a simp|
|00001250| 6c 65 20 67 61 6d 65 2c | 20 66 6f 72 20 6e 6f 77 |le game,| for now|
|00001260| 20 49 27 6d 20 6a 75 73 | 74 20 75 73 69 6e 67 20 | I'm jus|t using |
|00001270| 6f 6e 65 20 6d 6f 6e 73 | 74 65 72 0d 73 68 61 70 |one mons|ter.shap|
|00001280| 65 20 2d 20 69 63 6c 38 | 20 31 34 30 2e 20 52 65 |e - icl8| 140. Re|
|00001290| 61 64 20 69 6e 74 6f 20 | 6d 6f 6e 73 74 65 72 5f |ad into |monster_|
|000012a0| 73 70 72 69 74 65 31 0d | 49 27 6d 20 67 6f 69 6e |sprite1.|I'm goin|
|000012b0| 67 20 74 6f 20 75 73 65 | 20 66 69 78 65 64 20 64 |g to use| fixed d|
|000012c0| 61 74 61 2c 20 69 6e 20 | 69 6e 69 74 20 74 6f 20 |ata, in |init to |
|000012d0| 69 6e 69 74 69 61 6c 69 | 73 65 20 74 68 65 20 61 |initiali|se the a|
|000012e0| 72 72 61 79 73 2e 20 42 | 65 63 61 75 73 65 20 69 |rrays. B|ecause i|
|000012f0| 7e 20 68 61 76 65 20 74 | 6f 20 0d 74 79 70 65 20 |~ have t|o .type |
|00001300| 69 6e 20 74 68 65 20 64 | 61 74 61 2c 20 66 6f 72 |in the d|ata, for|
|00001310| 20 6e 6f 77 20 49 27 76 | 65 20 73 65 74 20 74 68 | now I'v|e set th|
|00001320| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6d 6f 6e 73 |e number| of mons|
|00001330| 74 65 72 73 20 74 6f 20 | 35 2e 20 54 68 65 20 69 |ters to |5. The i|
|00001340| 6e 69 74 20 72 6f 75 74 | 69 6e 65 0d 73 69 6d 70 |nit rout|ine.simp|
|00001350| 6c 79 20 63 6f 70 69 65 | 73 20 74 68 65 20 78 20 |ly copie|s the x |
|00001360| 61 6e 64 20 79 20 63 6f | 6f 72 64 73 20 6f 75 74 |and y co|ords out|
|00001370| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 74 6f 20 | of the |data to |
|00001380| 74 68 65 20 78 2c 79 2c | 78 5f 6f 6c 64 20 61 6e |the x,y,|x_old an|
|00001390| 64 20 79 5f 6f 6c 64 20 | 61 72 72 61 79 73 2e 0d |d y_old |arrays..|
|000013a0| 0d 47 65 74 20 73 6f 6d | 65 20 63 6f 66 66 65 65 |.Get som|e coffee|
|000013b0| 2e 0d 0d 4f 6b 2c 20 69 | 74 20 30 30 32 35 20 6e |...Ok, i|t 0025 n|
|000013c0| 6f 77 2c 20 61 6e 64 20 | 74 68 65 20 69 6e 69 74 |ow, and |the init|
|000013d0| 20 72 6f 75 74 69 6e 65 | 20 69 73 20 64 6f 6e 65 | routine| is done|
|000013e0| 2e 20 4e 65 78 74 20 64 | 72 61 77 5f 6d 6f 6e 73 |. Next d|raw_mons|
|000013f0| 74 65 72 73 2e 20 46 69 | 72 73 74 20 74 68 69 73 |ters. Fi|rst this|
|00001400| 20 68 61 73 20 74 6f 0d | 67 6f 20 74 68 72 6f 75 | has to.|go throu|
|00001410| 67 68 20 74 68 65 20 61 | 72 72 61 79 73 20 61 6e |gh the a|rrays an|
|00001420| 64 20 63 61 6c 6c 20 62 | 6c 61 6e 6b 5f 69 63 6c |d call b|lank_icl|
|00001430| 38 20 77 68 69 63 68 20 | 77 69 6c 6c 20 65 72 61 |8 which |will era|
|00001440| 73 65 20 61 6c 6c 20 74 | 68 65 20 6f 6c 64 20 6d |se all t|he old m|
|00001450| 6f 6e 73 74 65 72 73 2e | 0d 54 68 65 6e 20 61 67 |onsters.|.Then ag|
|00001460| 61 69 6e 2c 20 67 6f 20 | 74 68 72 6f 75 67 68 20 |ain, go |through |
|00001470| 61 20 6c 6f 6f 70 2c 20 | 61 6e 6c 6f 79 20 74 68 |a loop, |anloy th|
|00001480| 69 73 20 74 69 6d 65 20 | 63 61 6c 6c 20 64 72 61 |is time |call dra|
|00001490| 77 5f 69 63 6c 38 20 77 | 68 69 63 68 20 69 73 20 |w_icl8 w|hich is |
|000014a0| 61 6c 72 65 61 64 79 20 | 77 72 69 74 74 65 6e 2e |already |written.|
|000014b0| 0d 0d 4f 6b 2c 20 49 27 | 76 65 20 77 72 69 74 74 |..Ok, I'|ve writt|
|000014c0| 65 6e 20 74 68 65 20 63 | 6c 65 61 72 20 61 6e 64 |en the c|lear and|
|000014d0| 20 73 70 6c 61 74 20 72 | 6f 75 74 69 6e 65 73 20 | splat r|outines |
|000014e0| 66 6f 72 20 74 68 65 20 | 6d 6f 6e 73 74 65 72 73 |for the |monsters|
|000014f0| 2c 20 6e 6f 77 20 62 65 | 66 6f 72 65 20 72 75 6e |, now be|fore run|
|00001500| 6e 69 6e 67 20 74 68 65 | 6d 0d 49 20 6e 65 65 64 |ning the|m.I need|
|00001510| 20 74 6f 20 67 65 74 20 | 61 20 74 69 6d 69 6e 67 | to get |a timing|
|00001520| 20 66 6f 72 20 31 30 30 | 30 20 66 72 61 6d 65 73 | for 100|0 frames|
|00001530| 20 74 68 65 6e 20 49 20 | 63 61 6e 20 73 65 65 20 | then I |can see |
|00001540| 68 6f 77 20 6d 75 63 68 | 20 74 68 65 20 6d 6f 6e |how much| the mon|
|00001550| 73 74 65 72 20 70 72 69 | 6e 74 20 68 61 73 20 73 |ster pri|nt has s|
|00001560| 6c 6f 77 65 64 0d 69 74 | 20 64 6f 77 6e 2e 0d 57 |lowed.it| down..W|
|00001570| 69 74 68 6f 75 74 20 74 | 68 65 20 73 74 61 72 73 |ithout t|he stars|
|00001580| 20 6f 72 20 6d 6f 6e 73 | 74 65 72 73 20 49 20 67 | or mons|ters I g|
|00001590| 65 74 20 35 33 32 20 74 | 69 63 6b 73 2c 20 77 68 |et 532 t|icks, wh|
|000015a0| 69 63 68 20 69 73 20 31 | 30 30 30 2f 28 35 33 32 |ich is 1|000/(532|
|000015b0| 2f 36 30 29 20 31 31 33 | 20 66 72 61 6d 65 73 2f |/60) 113| frames/|
|000015c0| 73 65 63 2e 0d 0d 4e 6f | 77 20 73 77 69 74 63 68 |sec...No|w switch|
|000015d0| 20 6f 6e 20 74 68 65 20 | 6d 6f 6e 73 74 65 72 20 | on the |monster |
|000015e0| 70 72 69 6e 74 2e 2e 2e | 61 6e 64 2e 2e 2e 35 38 |print...|and...58|
|000015f0| 39 20 74 69 63 6b 73 20 | 2d 20 74 68 61 74 73 20 |9 ticks |- thats |
|00001600| 77 69 74 68 20 35 20 6d | 6f 6e 73 74 65 72 73 3d |with 5 m|onsters=|
|00001610| 31 30 31 20 66 70 73 2e | 0d 48 6f 77 65 76 65 72 |101 fps.|.However|
|00001620| 2c 20 77 68 61 74 20 74 | 68 65 20 6d 6f 6e 73 74 |, what t|he monst|
|00001630| 65 72 20 70 72 69 6e 74 | 20 72 6f 75 74 69 6e 65 |er print| routine|
|00001640| 20 69 73 20 70 72 69 6e | 74 69 6e 67 20 69 73 6e | is prin|ting isn|
|00001650| 27 74 20 68 6f 77 20 69 | 74 20 6c 6f 6f 6b 73 20 |'t how i|t looks |
|00001660| 69 6e 20 52 65 73 65 64 | 69 74 21 0d 53 6f 2c 20 |in Resed|it!.So, |
|00001670| 68 65 6c 6c 6f 20 4d 61 | 63 73 62 75 67 2e 2e 2e |hello Ma|csbug...|
|00001680| 41 73 20 69 74 20 74 75 | 72 6e 73 20 6f 75 74 2c |As it tu|rns out,|
|00001690| 20 64 69 64 6e 27 74 20 | 6e 65 65 64 20 4d 61 63 | didn't |need Mac|
|000016a0| 73 62 75 67 2c 20 69 74 | 27 73 20 6a 75 73 74 20 |sbug, it|'s just |
|000016b0| 74 68 61 74 20 73 70 6c | 61 74 5f 69 63 6c 38 0d |that spl|at_icl8.|
|000016c0| 64 6f 65 6e 73 27 74 20 | 70 72 65 73 65 72 76 65 |doens't |preserve|
|000016d0| 20 74 68 65 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 | the poi|nter to |
|000016e0| 74 68 65 20 64 61 74 61 | 2c 20 73 6f 20 49 20 6a |the data|, so I j|
|000016f0| 75 73 74 20 73 61 76 65 | 64 20 69 74 20 69 6e 20 |ust save|d it in |
|00001700| 72 32 35 20 61 6e 64 20 | 61 6c 6c 20 69 73 20 6f |r25 and |all is o|
|00001710| 6b 2e 20 0d 42 55 54 20 | 49 20 64 69 64 20 6e 6f |k. .BUT |I did no|
|00001720| 74 69 63 65 20 74 68 61 | 74 20 74 68 65 20 73 70 |tice tha|t the sp|
|00001730| 6c 61 74 5f 69 63 6c 38 | 5f 74 68 72 65 65 5f 76 |lat_icl8|_three_v|
|00001740| 65 72 74 20 72 6f 75 74 | 69 6e 65 20 73 65 65 6d |ert rout|ine seem|
|00001750| 73 20 74 6f 20 62 65 20 | 73 70 6c 61 74 74 69 6e |s to be |splattin|
|00001760| 67 20 36 34 0d 72 61 74 | 68 65 72 20 74 68 61 6e |g 64.rat|her than|
|00001770| 20 33 32 20 62 79 74 65 | 73 20 68 6f 72 69 7a 6f | 32 byte|s horizo|
|00001780| 6e 74 61 6c 6c 79 2e 2e | 2e 79 75 70 2c 20 69 74 |ntally..|.yup, it|
|00001790| 20 77 61 73 20 74 68 65 | 20 63 6c 65 61 72 20 72 | was the| clear r|
|000017a0| 6f 75 74 69 6e 65 73 20 | 72 61 74 68 65 72 20 74 |outines |rather t|
|000017b0| 68 61 6e 20 74 68 65 20 | 0d 73 70 6c 61 74 20 72 |han the |.splat r|
|000017c0| 6f 75 74 69 6e 65 73 20 | 2d 20 61 20 68 61 6e 67 |outines |- a hang|
|000017d0| 6f 76 65 72 20 66 72 6f | 6d 20 74 68 65 20 69 6e |over fro|m the in|
|000017e0| 74 65 67 65 72 20 75 6e | 69 74 20 77 6f 72 64 20 |teger un|it word |
|000017f0| 73 70 6c 61 74 2e 0d 0d | 53 4f 2c 20 66 69 6e 61 |splat...|SO, fina|
|00001800| 6c 6c 79 2c 20 49 20 63 | 61 6e 20 67 65 74 20 61 |lly, I c|an get a|
|00001810| 20 74 69 6d 65 20 77 69 | 74 68 20 74 68 65 20 73 | time wi|th the s|
|00001820| 74 61 72 73 20 61 6e 64 | 20 66 69 76 65 20 6d 6f |tars and| five mo|
|00001830| 6e 73 74 65 72 73 20 2d | 20 31 30 32 20 66 70 73 |nsters -| 102 fps|
|00001840| 2e 0d 4e 6f 77 20 6c 65 | 74 73 20 62 75 6e 67 20 |..Now le|ts bung |
|00001850| 75 70 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |up the n|umber of|
|00001860| 20 6d 6f 6e 73 74 65 72 | 73 20 74 6f 20 31 30 20 | monster|s to 10 |
|00001870| 2d 20 39 33 20 66 70 73 | 2c 20 6e 6f 77 20 6c 65 |- 93 fps|, now le|
|00001880| 74 73 20 73 65 65 20 69 | 66 20 49 20 63 61 6e 74 |ts see i|f I cant|
|00001890| 20 67 65 74 0d 74 68 61 | 74 20 75 70 20 62 79 20 | get.tha|t up by |
|000018a0| 31 2e 20 41 70 70 61 72 | 65 6e 74 6c 79 20 6e 6f |1. Appar|ently no|
|000018b0| 74 20 61 74 20 74 68 69 | 73 20 73 74 61 67 65 2e |t at thi|s stage.|
|000018c0| 20 4f 4b 2e 20 57 65 6c | 6c 20 69 74 27 73 20 30 | OK. Wel|l it's 0|
|000018d0| 31 30 30 2c 20 73 6f 20 | 74 68 61 74 73 20 39 20 |100, so |thats 9 |
|000018e0| 68 6f 75 72 73 2e 20 0d | 0d 4e 65 78 74 20 75 70 |hours. .|.Next up|
|000018f0| 20 69 73 20 74 68 65 20 | 6d 6f 6e 73 74 65 72 20 | is the |monster |
|00001900| 6d 6f 76 65 6d 65 6e 74 | 20 72 6f 75 74 69 6e 65 |movement| routine|
|00001910| 73 2e 20 41 73 20 49 20 | 6f 6e 6c 79 20 68 61 76 |s. As I |only hav|
|00001920| 65 20 31 35 20 68 6f 75 | 72 73 20 6c 65 66 74 2c |e 15 hou|rs left,|
|00001930| 20 69 74 27 73 20 68 61 | 73 20 74 6f 20 62 65 20 | it's ha|s to be |
|00001940| 0d 73 69 6d 70 6c 65 20 | 74 68 69 73 20 74 69 6d |.simple |this tim|
|00001950| 65 2e 20 49 20 74 68 69 | 6e 6b 20 66 69 72 73 74 |e. I thi|nk first|
|00001960| 20 49 27 6c 6c 20 77 72 | 69 74 65 20 61 20 64 65 | I'll wr|ite a de|
|00001970| 66 61 75 6c 74 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |fault co|ntroller|
|00001980| 20 77 68 69 63 68 20 6a | 75 73 74 20 66 6c 61 6f | which j|ust flao|
|00001990| 74 73 0d 74 68 65 20 6d | 6f 6e 73 74 65 72 73 20 |ts.the m|onsters |
|000019a0| 61 62 6f 75 74 20 2d 20 | 69 66 20 74 68 65 79 20 |about - |if they |
|000019b0| 68 69 74 20 61 20 73 69 | 64 65 2c 20 74 68 65 6e |hit a si|de, then|
|000019c0| 20 72 65 76 65 72 73 65 | 20 74 68 65 20 64 65 6c | reverse| the del|
|000019d0| 74 61 20 69 6e 20 74 68 | 61 74 20 64 69 72 65 63 |ta in th|at direc|
|000019e0| 74 69 6f 6e 2e 0d 0d 53 | 6f 2c 20 77 65 20 6e 65 |tion...S|o, we ne|
|000019f0| 65 64 20 74 77 6f 20 6d | 6f 72 65 20 61 72 72 61 |ed two m|ore arra|
|00001a00| 79 73 20 2d 20 6d 64 65 | 6c 74 61 5f 78 20 61 6e |ys - mde|lta_x an|
|00001a10| 64 20 6d 64 65 6c 74 61 | 5f 79 20 28 61 73 20 62 |d mdelta|_y (as b|
|00001a20| 79 74 65 73 29 20 42 55 | 54 20 61 74 20 74 68 69 |ytes) BU|T at thi|
|00001a30| 73 20 74 69 6d 65 2c 20 | 49 20 6b 6e 6f 77 20 0d |s time, |I know .|
|00001a40| 74 68 61 74 20 49 27 6d | 20 67 6f 69 6e 67 20 74 |that I'm| going t|
|00001a50| 6f 20 75 73 65 20 6d 6f | 72 65 20 74 68 61 6e 20 |o use mo|re than |
|00001a60| 6f 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6d 65 63 68 |one cont|rol mech|
|00001a70| 61 6e 69 73 6d 2c 20 73 | 6f 20 49 27 6c 6c 20 64 |anism, s|o I'll d|
|00001a80| 65 66 69 6e 65 20 61 6e | 6f 74 68 65 72 20 61 72 |efine an|other ar|
|00001a90| 72 61 79 0d 28 6f 66 20 | 62 79 74 65 73 29 20 2d |ray.(of |bytes) -|
|00001aa0| 20 6d 63 6f 6e 74 72 6f | 6c 2e 0d 0d 49 6e 20 74 | mcontro|l...In t|
|00001ab0| 68 65 20 69 6e 69 74 20 | 70 68 61 73 65 2c 20 77 |he init |phase, w|
|00001ac0| 65 20 67 65 6e 65 72 61 | 74 65 20 72 61 6e 64 6f |e genera|te rando|
|00001ad0| 6d 20 64 65 6c 74 61 20 | 76 61 6c 75 65 73 20 66 |m delta |values f|
|00001ae0| 6f 72 20 74 68 65 20 6d | 6f 6e 73 74 65 72 73 20 |or the m|onsters |
|00001af0| 2d 20 6d 69 6e 69 6d 75 | 6d 20 6f 66 20 31 20 61 |- minimu|m of 1 a|
|00001b00| 6e 64 0d 6d 61 78 69 6d | 75 6d 20 6f 66 20 33 2c |nd.maxim|um of 3,|
|00001b10| 20 62 75 74 20 74 68 69 | 73 20 69 73 6e 27 74 20 | but thi|s isn't |
|00001b20| 63 61 6c 6c 65 64 20 69 | 6e 20 74 68 65 20 6e 6f |called i|n the no|
|00001b30| 72 6d 61 6c 20 69 6e 69 | 74 2c 20 61 73 20 77 65 |rmal ini|t, as we|
|00001b40| 20 77 61 6e 74 20 74 6f | 20 63 61 6c 6c 20 74 68 | want to| call th|
|00001b50| 69 73 20 72 6f 75 74 69 | 6e 65 0d 74 6f 20 73 74 |is routi|ne.to st|
|00001b60| 61 72 74 20 61 20 6e 65 | 77 20 73 74 61 67 65 2c |art a ne|w stage,|
|00001b70| 20 73 6f 20 49 27 6c 6c | 20 64 65 66 69 6e 65 20 | so I'll| define |
|00001b80| 61 20 6e 65 77 20 73 6f | 75 72 63 65 20 66 69 6c |a new so|urce fil|
|00001b90| 65 20 2d 20 77 61 76 65 | 5f 69 6e 69 74 2e 73 0d |e - wave|_init.s.|
|00001ba0| 4f 6b 2c 20 77 72 69 74 | 74 65 6e 20 61 20 72 6f |Ok, writ|ten a ro|
|00001bb0| 75 74 69 6e 65 20 2d 77 | 61 76 65 5f 69 6e 69 74 |utine -w|ave_init|
|00001bc0| 20 77 68 69 63 68 20 73 | 65 74 73 20 75 70 20 74 | which s|ets up t|
|00001bd0| 68 65 20 61 72 72 61 79 | 73 20 77 69 74 68 20 72 |he array|s with r|
|00001be0| 61 6e 64 6f 6d 20 64 65 | 6c 74 61 20 76 61 6c 75 |andom de|lta valu|
|00001bf0| 65 73 2c 0d 69 6e 20 74 | 68 65 20 72 61 6e 67 65 |es,.in t|he range|
|00001c00| 20 6f 66 20 30 2d 33 2e | 20 54 68 69 73 20 6d 65 | of 0-3.| This me|
|00001c10| 61 6e 73 20 69 74 27 73 | 20 70 6f 73 73 69 62 6c |ans it's| possibl|
|00001c20| 65 20 74 6f 20 67 65 74 | 20 6d 6f 6e 73 74 65 72 |e to get| monster|
|00001c30| 73 20 74 68 61 74 20 77 | 6f 6e 74 20 6d 6f 76 65 |s that w|ont move|
|00001c40| 2c 20 62 75 74 20 49 27 | 6c 6c 0d 73 6f 72 74 20 |, but I'|ll.sort |
|00001c50| 74 68 61 74 20 6f 75 74 | 20 6c 61 74 65 72 2e 20 |that out| later. |
|00001c60| 28 61 64 64 20 31 20 69 | 66 20 7a 65 72 6f 20 65 |(add 1 i|f zero e|
|00001c70| 74 63 29 0d 0d 4e 65 78 | 74 20 72 6f 75 74 69 6e |tc)..Nex|t routin|
|00001c80| 65 20 69 73 20 6d 6f 76 | 65 5f 6d 6f 6e 73 74 65 |e is mov|e_monste|
|00001c90| 72 73 2e 20 54 68 69 73 | 20 67 65 74 73 20 65 61 |rs. This| gets ea|
|00001ca0| 63 68 20 6d 6f 6e 73 74 | 65 72 73 20 78 2c 79 20 |ch monst|ers x,y |
|00001cb0| 61 6e 64 20 64 65 6c 74 | 61 5f 78 2c 79 2e 0d 43 |and delt|a_x,y..C|
|00001cc0| 68 65 63 6b 73 20 74 68 | 65 20 63 6f 6f 72 64 73 |hecks th|e coords|
|00001cd0| 20 6f 66 20 65 61 63 68 | 20 6d 6f 6e 73 74 65 72 | of each| monster|
|00001ce0| 2c 20 61 6e 64 20 69 66 | 20 6f 75 74 20 6f 66 20 |, and if| out of |
|00001cf0| 62 6f 75 6e 64 73 2c 20 | 72 65 76 65 72 73 65 73 |bounds, |reverses|
|00001d00| 20 74 68 65 20 72 65 6c | 65 76 61 6e 74 0d 64 65 | the rel|evant.de|
|00001d10| 6c 74 61 2e 20 54 6f 6f | 6b 20 74 77 65 6e 74 79 |lta. Too|k twenty|
|00001d20| 20 6d 69 6e 75 74 65 73 | 20 74 6f 20 77 72 69 74 | minutes| to writ|
|00001d30| 65 20 61 6e 64 20 6e 6f | 77 20 74 68 65 20 67 61 |e and no|w the ga|
|00001d40| 6d 65 20 63 72 61 73 68 | 65 73 20 62 72 69 6c 6c |me crash|es brill|
|00001d50| 69 61 6e 74 6c 79 21 0d | 0d 48 6d 6d 2c 20 6f 6b |iantly!.|.Hmm, ok|
|00001d60| 2c 20 74 68 69 73 20 77 | 61 73 20 61 20 63 6c 61 |, this w|as a cla|
|00001d70| 73 73 69 63 20 6d 69 73 | 74 61 6b 65 2e 20 54 68 |ssic mis|take. Th|
|00001d80| 65 20 78 20 61 6e 64 20 | 79 27 73 20 61 72 65 20 |e x and |y's are |
|00001d90| 68 61 6c 66 20 73 69 7a | 65 64 20 61 72 72 61 79 |half siz|ed array|
|00001da0| 73 2c 20 74 68 65 20 64 | 65 6c 74 61 73 0d 61 72 |s, the d|eltas.ar|
|00001db0| 65 20 62 79 74 65 73 20 | 2d 20 49 20 77 61 73 20 |e bytes |- I was |
|00001dc0| 73 69 6d 70 6c 79 20 61 | 64 64 69 6e 67 20 6a 75 |simply a|dding ju|
|00001dd0| 73 74 20 31 20 74 6f 20 | 74 68 65 20 78 20 61 6e |st 1 to |the x an|
|00001de0| 64 20 79 20 61 72 72 61 | 79 20 70 6f 69 6e 74 65 |d y arra|y pointe|
|00001df0| 72 73 2c 20 73 6f 20 74 | 68 65 20 66 69 72 73 74 |rs, so t|he first|
|00001e00| 20 78 20 77 61 73 0d 63 | 6f 72 72 65 63 74 2c 20 | x was.c|orrect, |
|00001e10| 61 6c 6c 20 74 68 65 20 | 72 65 73 74 20 77 65 72 |all the |rest wer|
|00001e20| 65 20 72 75 62 62 69 73 | 68 21 20 4e 6f 77 2c 20 |e rubbis|h! Now, |
|00001e30| 61 6c 6c 20 74 68 65 20 | 6d 6f 6e 73 74 65 72 73 |all the |monsters|
|00001e40| 20 61 72 65 20 73 69 6d | 70 6c 79 20 6d 6f 76 69 | are sim|ply movi|
|00001e50| 6e 67 20 74 6f 20 74 68 | 65 0d 63 6f 72 6e 65 72 |ng to th|e.corner|
|00001e60| 73 20 61 6e 64 20 73 74 | 61 79 69 6e 67 20 74 68 |s and st|aying th|
|00001e70| 65 72 65 2c 20 77 68 69 | 63 68 20 77 6f 75 6c 64 |ere, whi|ch would|
|00001e80| 20 72 65 61 6c 6c 79 20 | 6d 61 6b 65 20 74 68 65 | really |make the|
|00001e90| 20 67 61 6d 65 20 74 6f | 6f 20 65 61 73 79 20 3a | game to|o easy :|
|00001ea0| 2d 29 0d 0d 43 6f 66 66 | 65 65 2e 2e 2e 0d 0d 4f |-)..Coff|ee.....O|
|00001eb0| 6b 2c 20 74 77 6f 20 66 | 61 75 6c 74 73 2e 20 46 |k, two f|aults. F|
|00001ec0| 69 72 73 74 6c 79 20 49 | 20 77 61 73 6e 27 74 20 |irstly I| wasn't |
|00001ed0| 73 61 76 69 6e 67 20 74 | 68 65 20 64 65 6c 74 61 |saving t|he delta|
|00001ee0| 20 76 61 6c 75 65 73 20 | 62 61 63 6b 20 69 6e 20 | values |back in |
|00001ef0| 74 68 65 20 61 72 72 61 | 79 2c 20 61 6e 64 0d 73 |the arra|y, and.s|
|00001f00| 65 63 6f 6e 64 6c 79 20 | 62 65 63 61 75 73 65 20 |econdly |because |
|00001f10| 77 65 20 61 72 65 20 75 | 73 69 6e 67 20 73 69 67 |we are u|sing sig|
|00001f20| 6e 65 64 20 64 65 6c 74 | 61 20 76 61 6c 75 65 73 |ned delt|a values|
|00001f30| 2c 20 49 20 6e 65 65 64 | 65 64 20 74 6f 20 65 78 |, I need|ed to ex|
|00001f40| 74 65 6e 64 20 74 68 65 | 20 73 69 67 6e 20 6f 66 |tend the| sign of|
|00001f50| 0d 74 68 65 20 64 65 6c | 74 61 20 62 79 74 65 21 |.the del|ta byte!|
|00001f60| 20 4f 6b 2c 20 73 6f 20 | 69 74 20 6e 6f 77 20 77 | Ok, so |it now w|
|00001f70| 6f 72 6b 73 21 20 41 73 | 20 70 72 65 64 69 63 74 |orks! As| predict|
|00001f80| 65 64 20 6f 6e 65 20 6f | 66 20 74 68 65 20 6d 6f |ed one o|f the mo|
|00001f90| 6e 73 74 65 72 73 20 64 | 69 64 6e 27 74 20 6d 6f |nsters d|idn't mo|
|00001fa0| 76 65 0d 73 6f 20 62 61 | 63 6b 20 69 6e 74 6f 20 |ve.so ba|ck into |
|00001fb0| 77 61 76 65 20 69 6e 69 | 74 2e 2e 2e 20 49 74 20 |wave ini|t... It |
|00001fc0| 74 75 72 6e 73 20 6f 75 | 74 20 74 68 61 74 20 6d |turns ou|t that m|
|00001fd0| 6f 6e 73 74 65 72 20 23 | 31 30 20 69 73 20 6e 6f |onster #|10 is no|
|00001fe0| 74 20 6d 6f 76 69 6e 67 | 3f 0d 49 6e 74 6f 20 4d |t moving|?.Into M|
|00001ff0| 61 63 73 62 75 67 2c 20 | 63 68 65 63 6b 20 6f 75 |acsbug, |check ou|
|00002000| 74 20 74 68 65 20 64 65 | 6c 74 61 20 61 72 72 61 |t the de|lta arra|
|00002010| 79 73 20 61 6e 64 20 73 | 75 72 65 20 65 6e 6f 75 |ys and s|ure enou|
|00002020| 67 68 2c 20 65 6e 74 72 | 79 20 31 30 20 69 73 20 |gh, entr|y 10 is |
|00002030| 30 3f 0d 42 75 6d 6d 65 | 72 20 2d 20 77 61 76 65 |0?.Bumme|r - wave|
|00002040| 5f 69 6e 69 74 20 77 61 | 73 20 73 74 75 66 66 69 |_init wa|s stuffi|
|00002050| 6e 67 20 62 6f 74 68 20 | 64 65 6c 74 61 73 20 69 |ng both |deltas i|
|00002060| 6e 74 6f 20 74 68 65 20 | 73 61 6d 65 20 61 72 72 |nto the |same arr|
|00002070| 61 79 21 20 46 69 78 65 | 64 20 6e 6f 77 20 61 6e |ay! Fixe|d now an|
|00002080| 64 20 61 6c 6c 20 6d 79 | 0d 6c 69 74 74 6c 65 20 |d all my|.little |
|00002090| 61 6c 69 65 6e 73 20 61 | 72 65 20 6d 6f 76 69 6e |aliens a|re movin|
|000020a0| 67 20 2d 20 68 75 72 72 | 61 68 21 0d 0d 4c 65 74 |g - hurr|ah!..Let|
|000020b0| 73 20 67 65 74 20 61 20 | 66 72 61 6d 65 20 72 61 |s get a |frame ra|
|000020c0| 74 65 2e 2e 2e 39 34 66 | 70 73 2e 0d 0d 50 68 65 |te...94f|ps...Phe|
|000020d0| 77 2e 20 52 69 67 68 74 | 20 69 73 20 31 3a 34 35 |w. Right| is 1:45|
|000020e0| 2c 20 77 68 69 63 68 20 | 6d 65 61 6e 73 20 74 68 |, which |means th|
|000020f0| 69 73 20 69 73 20 6e 65 | 61 72 6c 79 20 31 30 20 |is is ne|arly 10 |
|00002100| 68 6f 75 72 73 20 69 6e | 20 73 6f 20 66 61 72 2e |hours in| so far.|
|00002110| 0d 0d 4e 65 78 74 20 75 | 70 20 69 73 20 70 6c 61 |..Next u|p is pla|
|00002120| 79 65 72 20 62 75 6c 6c | 65 74 73 20 68 69 74 74 |yer bull|ets hitt|
|00002130| 69 6e 67 20 74 68 65 20 | 6e 61 73 74 79 20 61 6c |ing the |nasty al|
|00002140| 69 65 6e 73 2e 20 4e 6f | 77 20 77 68 65 6e 20 61 |iens. No|w when a|
|00002150| 6e 20 61 6c 69 65 6e 20 | 69 73 20 68 69 74 2c 20 |n alien |is hit, |
|00002160| 61 6c 6c 20 77 65 0d 68 | 61 76 65 20 74 6f 20 64 |all we.h|ave to d|
|00002170| 6f 20 69 73 20 73 65 74 | 20 69 74 73 20 79 20 63 |o is set| its y c|
|00002180| 6f 6f 72 64 20 74 6f 20 | 2d 31 20 61 6e 64 20 6d |oord to |-1 and m|
|00002190| 6f 64 69 66 79 20 74 68 | 65 20 72 6f 75 74 69 6e |odify th|e routin|
|000021a0| 65 73 20 74 6f 20 69 67 | 6e 6f 72 65 20 73 75 63 |es to ig|nore suc|
|000021b0| 68 20 61 20 62 65 61 73 | 74 79 2e 0d 0d 46 69 72 |h a beas|ty...Fir|
|000021c0| 73 74 20 74 68 6f 75 67 | 68 2c 20 77 65 20 6e 65 |st thoug|h, we ne|
|000021d0| 65 64 20 74 6f 20 67 6f | 20 62 61 63 6b 20 69 6e |ed to go| back in|
|000021e0| 74 6f 20 63 61 6c 63 5f | 62 75 6c 6c 65 74 73 20 |to calc_|bullets |
|000021f0| 74 6f 20 64 65 74 65 63 | 74 20 61 20 68 69 74 2e |to detec|t a hit.|
|00002200| 20 49 6e 20 63 61 6c 63 | 5f 62 5f 6c 6f 6f 70 0d | In calc|_b_loop.|
|00002210| 77 65 20 73 75 62 74 72 | 61 63 74 20 31 30 20 66 |we subtr|act 10 f|
|00002220| 72 6f 6d 20 74 68 65 20 | 62 75 6c 6c 65 74 73 20 |rom the |bullets |
|00002230| 79 20 63 6f 6f 72 64 2e | 20 47 69 76 65 6e 20 74 |y coord.| Given t|
|00002240| 68 69 73 20 63 6f 6f 72 | 64 20 77 65 20 63 61 6e |his coor|d we can|
|00002250| 20 63 61 6c 6c 20 63 68 | 65 63 6b 5f 6d 6f 6e 73 | call ch|eck_mons|
|00002260| 74 65 72 5f 68 69 74 20 | 0d 77 68 69 63 68 20 63 |ter_hit |.which c|
|00002270| 6f 6d 70 61 72 65 73 20 | 74 68 65 20 62 75 6c 6c |ompares |the bull|
|00002280| 65 74 73 20 78 20 61 6e | 64 20 79 20 63 6f 6f 72 |ets x an|d y coor|
|00002290| 64 73 20 77 69 74 68 20 | 61 6c 6c 20 61 63 74 69 |ds with |all acti|
|000022a0| 76 65 20 61 6c 69 65 6e | 73 2e 20 49 66 20 74 68 |ve alien|s. If th|
|000022b0| 65 20 62 75 6c 6c 65 74 | 20 69 73 20 69 6e 20 6f |e bullet| is in o|
|000022c0| 6e 65 0d 6f 66 20 74 68 | 65 20 61 6c 69 65 6e 73 |ne.of th|e aliens|
|000022d0| 20 72 65 63 74 61 6e 67 | 6c 65 73 2c 20 69 74 20 | rectang|les, it |
|000022e0| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6d 6f 6e 73 |returns |the mons|
|000022f0| 74 65 72 20 6e 75 6d 62 | 65 72 2c 20 6f 74 68 65 |ter numb|er, othe|
|00002300| 72 77 69 73 65 20 7a 65 | 72 6f 2e 20 54 68 69 73 |rwise ze|ro. This|
|00002310| 20 69 73 20 6c 65 73 73 | 0d 74 69 64 79 20 74 68 | is less|.tidy th|
|00002320| 61 6e 20 63 61 6c 6c 69 | 6e 67 20 61 20 72 6f 75 |an calli|ng a rou|
|00002330| 74 69 6e 65 20 66 72 6f | 6d 20 74 68 65 20 6d 61 |tine fro|m the ma|
|00002340| 69 6e 20 6c 6f 6f 70 2c | 20 62 75 74 20 69 73 20 |in loop,| but is |
|00002350| 66 61 73 74 65 72 20 61 | 73 20 77 65 20 68 61 76 |faster a|s we hav|
|00002360| 65 20 74 68 65 20 62 75 | 6c 6c 65 74 73 20 63 6f |e the bu|llets co|
|00002370| 6f 72 64 73 0d 61 6e 64 | 20 6e 75 6d 62 65 72 20 |ords.and| number |
|00002380| 68 61 6e 64 79 2e 0d 0d | 54 69 6d 65 20 66 6f 72 |handy...|Time for|
|00002390| 20 73 6f 6d 65 20 6d 75 | 73 69 63 2c 20 61 73 20 | some mu|sic, as |
|000023a0| 74 68 69 73 20 77 69 6c | 6c 20 74 61 6b 65 20 61 |this wil|l take a|
|000023b0| 20 77 68 69 6c 65 20 74 | 6f 20 77 72 69 74 65 20 | while t|o write |
|000023c0| 2d 20 65 68 3f 20 54 68 | 69 73 20 64 69 73 6b 20 |- eh? Th|is disk |
|000023d0| 69 73 20 75 6e 72 65 61 | 64 61 62 6c 65 20 62 79 |is unrea|dable by|
|000023e0| 2e 2e 2e 0d 4f 68 20 79 | 65 73 2c 20 62 65 73 74 |....Oh y|es, best|
|000023f0| 20 70 75 74 20 74 68 65 | 20 66 6f 72 65 69 67 6e | put the| foreign|
|00002400| 20 66 69 6c 65 20 61 63 | 63 65 73 73 20 74 68 69 | file ac|cess thi|
|00002410| 6e 67 69 65 73 20 69 6e | 2e 2e 2e 0d 0d 4f 6b 2c |ngies in|.....Ok,|
|00002420| 20 72 6f 75 74 69 6e 65 | 73 20 77 72 69 74 74 65 | routine|s writte|
|00002430| 6e 2c 20 61 6e 64 20 69 | 74 20 64 6f 6e 27 74 20 |n, and i|t don't |
|00002440| 63 72 61 73 68 2c 20 62 | 75 74 20 69 74 20 69 73 |crash, b|ut it is|
|00002450| 6e 27 74 20 77 6f 72 6b | 69 6e 67 2c 20 73 6f 20 |n't work|ing, so |
|00002460| 49 3b 6d 20 67 6f 69 6e | 67 20 74 6f 20 72 65 64 |I;m goin|g to red|
|00002470| 75 63 65 20 74 68 65 20 | 0d 6e 75 6d 62 65 72 20 |uce the |.number |
|00002480| 6f 66 20 6d 6f 6e 73 74 | 65 72 73 20 74 6f 20 31 |of monst|ers to 1|
|00002490| 20 73 6f 20 69 74 27 73 | 20 65 61 73 69 65 72 20 | so it's| easier |
|000024a0| 74 6f 20 64 65 62 75 67 | 2e 0d 0d 44 6f 64 64 6c |to debug|...Doddl|
|000024b0| 65 20 2d 20 6a 75 73 74 | 20 61 20 6d 69 78 20 75 |e - just| a mix u|
|000024c0| 70 20 6f 76 65 72 20 78 | 20 61 6e 64 20 79 27 73 |p over x| and y's|
|000024d0| 2e 20 49 6e 20 63 68 65 | 63 6b 5f 6d 6f 6e 73 74 |. In che|ck_monst|
|000024e0| 65 72 5f 68 69 74 2c 20 | 69 66 20 69 74 20 69 73 |er_hit, |if it is|
|000024f0| 2c 20 61 6c 6c 20 77 65 | 20 64 6f 20 69 73 20 0d |, all we| do is .|
|00002500| 62 75 6e 67 20 61 20 2d | 31 20 69 6e 20 74 68 65 |bung a -|1 in the|
|00002510| 20 6d 6f 6e 73 74 65 72 | 73 20 79 20 63 6f 6f 72 | monster|s y coor|
|00002520| 64 20 61 6e 64 20 69 74 | 20 67 6f 65 73 20 61 77 |d and it| goes aw|
|00002530| 61 79 2e 20 52 69 67 68 | 74 20 62 75 6e 67 20 74 |ay. Righ|t bung t|
|00002540| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6d 6f 6e |he numbe|r of mon|
|00002550| 73 74 65 72 73 0d 62 61 | 63 6b 20 75 70 74 6f 20 |sters.ba|ck upto |
|00002560| 32 30 20 61 6e 64 20 67 | 69 76 65 20 69 74 20 61 |20 and g|ive it a|
|00002570| 20 62 6c 61 73 74 20 28 | 61 68 20 74 68 65 20 6a | blast (|ah the j|
|00002580| 6f 79 73 20 6f 66 20 65 | 71 75 61 74 65 20 66 69 |oys of e|quate fi|
|00002590| 6c 65 73 29 2e 0d 0d 0d | 4f 6b 2c 20 73 6f 6d 65 |les)....|Ok, some|
|000025a0| 74 68 69 6e 67 20 76 65 | 72 79 20 77 65 69 72 64 |thing ve|ry weird|
|000025b0| 20 69 73 20 68 61 70 70 | 65 6e 69 6e 67 2e 20 41 | is happ|ening. A|
|000025c0| 73 20 49 20 73 68 6f 6f | 74 20 6d 6f 6e 73 74 65 |s I shoo|t monste|
|000025d0| 72 73 2c 20 74 68 65 6e | 20 67 61 6d 65 20 67 65 |rs, then| game ge|
|000025e0| 74 73 20 73 6c 6f 77 65 | 72 20 61 6e 64 20 0d 73 |ts slowe|r and .s|
|000025f0| 6c 6f 77 65 72 3f 20 49 | 27 6d 20 73 75 70 70 6f |lower? I|'m suppo|
|00002600| 73 65 64 20 74 6f 20 62 | 65 20 65 71 75 61 6c 69 |sed to b|e equali|
|00002610| 73 69 6e 67 20 6e 6f 77 | 21 20 59 75 70 2c 20 49 |sing now|! Yup, I|
|00002620| 20 68 61 64 20 66 6f 72 | 67 6f 74 74 65 6e 20 74 | had for|gotten t|
|00002630| 6f 20 6d 6f 64 69 66 79 | 20 74 68 65 20 64 72 61 |o modify| the dra|
|00002640| 77 69 6e 67 20 72 6f 75 | 74 69 6e 65 73 0d 74 6f |wing rou|tines.to|
|00002650| 20 74 61 6b 65 20 61 63 | 63 6f 75 6e 74 20 6f 66 | take ac|count of|
|00002660| 20 79 20 76 61 6c 75 65 | 73 20 77 69 74 68 20 2d | y value|s with -|
|00002670| 31 2e 20 54 68 65 20 72 | 65 61 73 6f 6e 20 69 74 |1. The r|eason it|
|00002680| 20 77 61 73 20 73 6c 6f | 77 69 6e 67 20 64 6f 77 | was slo|wing dow|
|00002690| 6e 20 69 73 20 62 65 63 | 61 75 73 65 20 69 74 20 |n is bec|ause it |
|000026a0| 77 61 73 0d 64 72 61 77 | 69 6e 67 20 6f 66 66 20 |was.draw|ing off |
|000026b0| 73 63 72 65 65 6e 2c 20 | 77 68 69 63 68 20 69 73 |screen, |which is|
|000026c0| 20 70 72 6f 62 61 62 6c | 79 20 6e 6f 74 20 6c 69 | probabl|y not li|
|000026d0| 6e 65 64 20 75 70 20 6f | 6e 20 61 6e 20 38 20 62 |ned up o|n an 8 b|
|000026e0| 79 74 65 20 62 6f 75 6e | 64 61 72 79 21 20 41 6e |yte boun|dary! An|
|000026f0| 79 77 61 79 2c 20 49 27 | 76 65 20 0d 61 64 64 65 |yway, I'|ve .adde|
|00002700| 64 20 61 20 64 6f 77 6e | 20 63 6f 75 6e 74 65 72 |d a down| counter|
|00002710| 20 74 68 61 74 20 64 65 | 63 72 65 6d 65 6e 74 73 | that de|crements|
|00002720| 20 77 68 65 6e 20 61 20 | 6d 6f 6e 73 74 65 72 20 | when a |monster |
|00002730| 69 73 20 6b 69 6c 6c 65 | 64 2c 20 61 6e 64 20 77 |is kille|d, and w|
|00002740| 68 65 6e 20 7a 65 72 6f | 20 73 65 74 73 20 74 68 |hen zero| sets th|
|00002750| 65 20 0d 67 6c 6f 62 61 | 6c 20 66 6c 61 67 20 65 |e .globa|l flag e|
|00002760| 6e 64 5f 6f 66 5f 77 61 | 76 65 20 74 6f 20 74 65 |nd_of_wa|ve to te|
|00002770| 6c 6c 20 74 68 65 20 6d | 61 69 6e 20 6c 6f 6f 70 |ll the m|ain loop|
|00002780| 20 74 6f 20 73 74 6f 70 | 2e 0d 0d 50 68 65 77 2e | to stop|...Phew.|
|00002790| 20 30 33 30 30 20 61 6e | 64 20 6c 6f 6f 6b 69 6e | 0300 an|d lookin|
|000027a0| 67 20 67 6f 6f 64 2e 20 | 52 69 67 68 74 20 6c 65 |g good. |Right le|
|000027b0| 74 73 20 67 65 74 20 61 | 20 66 72 61 6d 65 20 63 |ts get a| frame c|
|000027c0| 68 65 63 6b 20 77 69 74 | 68 20 31 30 20 6d 6f 6e |heck wit|h 10 mon|
|000027d0| 73 74 65 72 73 20 2d 20 | 39 32 2e 37 20 66 70 73 |sters - |92.7 fps|
|000027e0| 2e 0d 41 6e 64 20 77 69 | 74 68 20 32 30 2e 2e 72 |..And wi|th 20..r|
|000027f0| 65 6d 65 6d 62 65 72 69 | 6e 67 20 74 6f 20 6d 61 |ememberi|ng to ma|
|00002800| 6b 65 20 73 6f 6d 65 20 | 6d 6f 72 65 20 65 6e 74 |ke some |more ent|
|00002810| 72 69 65 73 20 69 6e 20 | 74 68 65 20 69 6e 69 74 |ries in |the init|
|00002820| 20 64 61 74 61 2e 2e 2e | 38 30 20 66 70 73 2e 20 | data...|80 fps. |
|00002830| 53 6f 20 77 65 27 72 65 | 0d 73 74 69 6c 6c 20 67 |So we're|.still g|
|00002840| 6f 6f 64 20 66 6f 72 20 | 61 20 66 65 77 20 6e 75 |ood for |a few nu|
|00002850| 6d 62 65 72 20 6f 66 20 | 61 6c 69 65 6e 73 2e 0d |mber of |aliens..|
|00002860| 0d 4e 6f 77 2c 20 6e 65 | 78 74 20 77 65 20 63 6f |.Now, ne|xt we co|
|00002870| 6d 65 20 74 6f 20 74 68 | 65 20 61 6c 69 65 6e 73 |me to th|e aliens|
|00002880| 20 64 72 6f 70 70 69 6e | 67 20 62 6f 6d 62 73 20 | droppin|g bombs |
|00002890| 6f 6e 20 75 73 20 2d 20 | 77 65 20 6e 65 65 64 20 |on us - |we need |
|000028a0| 73 6f 6d 65 20 72 75 6c | 65 73 20 66 69 72 73 74 |some rul|es first|
|000028b0| 2e 0d 4f 6e 65 20 61 6c | 69 65 6e 20 2d 20 6f 6e |..One al|ien - on|
|000028c0| 65 20 62 6f 6d 62 2e 20 | 4e 6f 77 20 62 65 63 61 |e bomb. |Now beca|
|000028d0| 75 73 65 20 74 68 65 73 | 65 20 6d 6f 6e 73 74 65 |use thes|e monste|
|000028e0| 72 73 20 68 61 76 65 20 | 74 6f 20 64 65 63 69 64 |rs have |to decid|
|000028f0| 65 20 77 68 65 6e 20 74 | 6f 20 64 72 6f 70 20 61 |e when t|o drop a|
|00002900| 20 62 6f 6d 62 2c 0d 77 | 65 20 64 6f 20 6e 6f 74 | bomb,.w|e do not|
|00002910| 20 77 61 6e 74 20 74 6f | 20 62 65 20 63 61 6c 6c | want to| be call|
|00002920| 69 6e 67 20 67 65 74 5f | 72 61 6e 64 6f 6d 20 66 |ing get_|random f|
|00002930| 6f 72 20 65 76 65 72 79 | 20 6d 6f 6e 73 74 65 72 |or every| monster|
|00002940| 20 69 6e 20 65 76 65 72 | 79 20 6c 6f 6f 70 20 2d | in ever|y loop -|
|00002950| 20 66 61 72 20 74 6f 6f | 20 73 6c 6f 77 2e 0d 57 | far too| slow..W|
|00002960| 68 61 74 20 49 27 6c 6c | 20 64 6f 20 69 73 20 64 |hat I'll| do is d|
|00002970| 65 66 69 6e 65 20 74 77 | 6f 20 6d 6f 72 65 20 61 |efine tw|o more a|
|00002980| 72 72 61 79 73 20 2d 20 | 6d 6f 6e 73 74 65 72 5f |rrays - |monster_|
|00002990| 62 6f 6d 62 5f 63 6f 75 | 6e 74 65 72 20 61 6e 64 |bomb_cou|nter and|
|000029a0| 20 6d 6f 6e 73 74 65 72 | 5f 62 6f 6d 62 5f 63 6f | monster|_bomb_co|
|000029b0| 75 6e 74 65 72 5f 72 65 | 73 65 74 2e 0d 54 68 65 |unter_re|set..The|
|000029c0| 73 65 20 61 72 65 20 73 | 65 74 20 75 70 20 69 6e |se are s|et up in|
|000029d0| 20 77 61 76 65 5f 69 6e | 69 74 20 61 6e 64 20 77 | wave_in|it and w|
|000029e0| 68 65 6e 20 74 68 65 20 | 63 6f 75 6e 74 65 72 20 |hen the |counter |
|000029f0| 72 65 61 63 68 65 73 20 | 7a 65 72 6f 2c 20 74 68 |reaches |zero, th|
|00002a00| 65 20 6d 6f 6e 73 74 65 | 72 20 74 72 69 65 73 0d |e monste|r tries.|
|00002a10| 74 6f 20 64 72 6f 70 20 | 61 20 62 6f 6d 62 2e 20 |to drop |a bomb. |
|00002a20| 49 66 20 69 74 20 68 61 | 73 20 6e 6f 20 61 63 74 |If it ha|s no act|
|00002a30| 69 76 65 20 62 6f 6d 62 | 20 74 68 65 6e 20 69 74 |ive bomb| then it|
|00002a40| 20 63 61 6e 20 64 72 6f | 70 20 6f 6e 65 2e 20 57 | can dro|p one. W|
|00002a50| 65 20 72 65 73 65 74 20 | 74 68 65 20 63 6f 75 6e |e reset |the coun|
|00002a60| 74 65 72 0d 66 72 6f 6d | 20 74 68 65 20 72 65 73 |ter.from| the res|
|00002a70| 65 74 20 61 72 72 61 79 | 2e 20 54 68 69 73 20 77 |et array|. This w|
|00002a80| 61 79 2c 20 61 6c 6c 20 | 77 65 20 68 61 76 65 20 |ay, all |we have |
|00002a90| 74 6f 20 64 6f 20 69 73 | 20 64 65 63 72 65 6d 65 |to do is| decreme|
|00002aa0| 6e 74 20 61 20 63 6f 75 | 6e 74 65 72 20 2d 20 66 |nt a cou|nter - f|
|00002ab0| 61 72 20 66 61 73 74 65 | 72 2e 0d 0d 41 6e 20 69 |ar faste|r...An i|
|00002ac0| 6e 61 63 74 69 76 65 20 | 62 6f 6d 62 20 69 73 20 |nactive |bomb is |
|00002ad0| 69 6e 64 69 63 61 74 65 | 64 20 62 79 20 2d 31 20 |indicate|d by -1 |
|00002ae0| 69 6e 20 74 68 65 20 6d | 6f 6e 73 74 65 72 5f 62 |in the m|onster_b|
|00002af0| 6f 6d 62 5f 79 20 61 72 | 72 61 79 2e 0d 0d 52 69 |omb_y ar|ray...Ri|
|00002b00| 67 68 74 2c 20 6c 65 74 | 73 20 64 6f 20 69 74 2e |ght, let|s do it.|
|00002b10| 2e 2e 46 69 72 73 74 20 | 6f 66 66 2c 20 77 61 76 |..First |off, wav|
|00002b20| 65 5f 69 6e 69 74 20 74 | 6f 20 73 65 74 20 75 70 |e_init t|o set up|
|00002b30| 20 74 68 65 20 63 6f 75 | 6e 74 65 72 20 61 72 72 | the cou|nter arr|
|00002b40| 61 79 73 2e 20 4f 6b 20 | 6d 69 6e 6f 72 20 63 68 |ays. Ok |minor ch|
|00002b50| 61 6e 67 65 2c 0d 61 6e | 6f 74 68 65 72 20 61 72 |ange,.an|other ar|
|00002b60| 72 61 79 20 2d 20 6d 6f | 6e 73 74 65 72 5f 62 6f |ray - mo|nster_bo|
|00002b70| 6d 62 5f 64 65 6c 74 61 | 73 20 2d 20 74 68 65 20 |mb_delta|s - the |
|00002b80| 79 20 64 65 6c 74 61 20 | 66 6f 72 20 74 68 65 20 |y delta |for the |
|00002b90| 62 6f 6d 62 20 2d 20 73 | 65 74 20 69 6e 20 69 6e |bomb - s|et in in|
|00002ba0| 69 74 5f 77 61 76 65 2e | 0d 4f 6b 2c 20 61 66 74 |it_wave.|.Ok, aft|
|00002bb0| 65 72 20 61 6e 20 68 6f | 75 72 20 61 6e 64 20 68 |er an ho|ur and h|
|00002bc0| 61 6c 66 20 6f 66 20 6d | 75 63 6b 69 6e 67 20 61 |alf of m|ucking a|
|00002bd0| 62 6f 75 74 20 74 77 65 | 61 6b 69 6e 67 20 74 68 |bout twe|aking th|
|00002be0| 69 6e 67 73 2c 20 74 68 | 61 74 20 6e 6f 77 20 77 |ings, th|at now w|
|00002bf0| 6f 72 6b 73 2e 20 4d 61 | 69 6e 20 70 72 6f 62 6c |orks. Ma|in probl|
|00002c00| 65 6d 20 0d 77 61 73 20 | 6d 61 6b 69 6e 67 20 73 |em .was |making s|
|00002c10| 75 72 65 20 64 65 61 64 | 20 61 6c 69 65 6e 73 20 |ure dead| aliens |
|00002c20| 64 6f 6e 27 74 20 64 72 | 6f 70 20 62 6f 6d 62 73 |don't dr|op bombs|
|00002c30| 21 0d 0d 4e 65 78 74 20 | 69 73 20 74 68 65 20 70 |!..Next |is the p|
|00002c40| 6c 61 79 65 72 2f 61 6c | 69 65 6e 20 62 6f 6d 62 |layer/al|ien bomb|
|00002c50| 20 63 6f 6c 6c 69 73 69 | 6f 6e 20 64 65 74 65 63 | collisi|on detec|
|00002c60| 74 69 6f 6e 2e 20 54 68 | 69 73 20 66 69 74 73 20 |tion. Th|is fits |
|00002c70| 6e 61 74 75 72 61 6c 6c | 79 20 69 6e 74 6f 20 74 |naturall|y into t|
|00002c80| 68 65 20 6d 6f 76 65 20 | 6d 6f 6e 73 74 65 72 0d |he move |monster.|
|00002c90| 6e 6f 6d 62 20 72 6f 75 | 74 69 6e 65 20 61 74 20 |nomb rou|tine at |
|00002ca0| 6c 61 62 65 6c 20 63 68 | 65 63 6b 5f 70 6c 61 79 |label ch|eck_play|
|00002cb0| 65 72 2e 0d 0d 46 69 6e | 61 6c 6c 79 20 69 73 20 |er...Fin|ally is |
|00002cc0| 61 6c 69 65 6e 2f 70 6c | 61 79 65 72 20 63 6f 6c |alien/pl|ayer col|
|00002cd0| 6c 69 73 69 6f 6e 20 2d | 20 61 67 61 69 6e 20 73 |lision -| again s|
|00002ce0| 61 6d 65 20 73 74 75 66 | 66 20 2d 20 64 72 61 77 |ame stuf|f - draw|
|00002cf0| 20 61 20 72 65 63 74 61 | 6e 67 6c 65 20 61 6e 64 | a recta|ngle and|
|00002d00| 20 63 6f 6d 70 61 72 65 | 2c 20 62 75 74 0d 74 68 | compare|, but.th|
|00002d10| 69 73 20 74 69 6d 65 20 | 77 65 20 68 61 76 65 20 |is time |we have |
|00002d20| 74 6f 20 63 68 65 63 6b | 20 61 6c 6c 20 66 6f 75 |to check| all fou|
|00002d30| 72 20 63 6f 72 6e 65 72 | 73 20 6f 66 20 74 68 65 |r corner|s of the|
|00002d40| 20 6d 6f 6e 73 74 65 72 | 20 61 67 61 69 6e 73 74 | monster| against|
|00002d50| 20 74 68 65 20 70 6c 61 | 79 65 72 73 20 72 65 63 | the pla|yers rec|
|00002d60| 74 61 6e 67 6c 65 2e 0d | 44 6f 6e 65 20 69 6e 20 |tangle..|Done in |
|00002d70| 64 72 61 77 5f 6d 5f 6c | 6f 6f 70 2e 0d 0d 4f 4b |draw_m_l|oop...OK|
|00002d80| 2c 20 69 74 73 20 30 36 | 33 30 20 2d 20 66 70 73 |, its 06|30 - fps|
|00002d90| 20 63 68 65 63 6b 2e 0d | 32 30 20 6d 6f 6e 73 74 | check..|20 monst|
|00002da0| 65 72 73 20 2d 20 38 30 | 20 66 72 61 6d 65 73 2f |ers - 80| frames/|
|00002db0| 73 65 63 0d 31 30 20 6d | 6f 6e 73 74 65 72 73 20 |sec.10 m|onsters |
|00002dc0| 2d 20 39 33 20 66 70 73 | 2e 20 44 6f 6e 74 20 73 |- 93 fps|. Dont s|
|00002dd0| 65 65 6d 20 74 6f 20 68 | 61 76 65 20 77 61 73 74 |eem to h|ave wast|
|00002de0| 65 64 20 61 6e 79 20 74 | 69 6d 65 20 6f 6e 20 74 |ed any t|ime on t|
|00002df0| 68 65 20 63 6f 6c 6c 69 | 73 69 6f 6e 20 64 65 74 |he colli|sion det|
|00002e00| 65 63 74 69 6f 6e 2e 20 | 47 6f 6f 64 2e 0d 0d 4e |ection. |Good...N|
|00002e10| 6f 77 20 69 74 27 73 20 | 74 69 6d 65 20 74 6f 20 |ow it's |time to |
|00002e20| 61 64 64 20 73 6f 6d 65 | 20 62 61 73 69 63 20 6c |add some| basic l|
|00002e30| 65 76 65 6c 73 20 2d 20 | 73 69 6d 70 6c 65 3a 0d |evels - |simple:.|
|00002e40| 4c 65 76 65 6c 20 31 3d | 35 20 6d 6f 6e 73 74 65 |Level 1=|5 monste|
|00002e50| 72 73 0d 6c 65 76 65 6c | 20 32 3d 31 30 0d 6c 65 |rs.level| 2=10.le|
|00002e60| 76 65 6c 20 33 3d 31 35 | 0d 6c 65 76 65 6c 20 34 |vel 3=15|.level 4|
|00002e70| 3d 32 30 0d 54 68 65 6e | 20 62 6f 6e 75 73 20 6c |=20.Then| bonus l|
|00002e80| 65 76 65 6c 20 77 68 69 | 63 68 20 65 6e 64 73 20 |evel whi|ch ends |
|00002e90| 73 63 68 65 6d 65 20 31 | 2e 0d 2e 2e 2e 0d 53 6f |scheme 1|......So|
|00002ea0| 20 73 6f 6d 65 20 66 6f | 75 72 20 68 6f 75 72 73 | some fo|ur hours|
|00002eb0| 20 6c 61 74 65 72 2c 20 | 49 27 76 65 20 61 64 64 | later, |I've add|
|00002ec0| 65 64 20 69 6e 20 62 61 | 73 69 63 20 73 6f 75 6e |ed in ba|sic soun|
|00002ed0| 64 2c 20 73 6f 6d 65 20 | 76 65 72 79 20 73 69 6d |d, some |very sim|
|00002ee0| 70 6c 65 20 6c 65 76 65 | 6c 20 69 6e 63 72 65 6d |ple leve|l increm|
|00002ef0| 65 6e 74 73 0d 61 6e 64 | 20 67 6f 74 20 6f 75 72 |ents.and| got our|
|00002f00| 20 61 72 74 69 73 74 20 | 74 6f 20 64 72 61 77 20 | artist |to draw |
|00002f10| 73 6f 6d 65 20 73 69 6d | 70 6c 65 20 73 70 72 69 |some sim|ple spri|
|00002f20| 74 65 73 20 2d 20 74 68 | 65 20 65 6e 64 20 72 65 |tes - th|e end re|
|00002f30| 73 75 6c 74 20 79 6f 75 | 20 63 61 6e 20 73 65 65 |sult you| can see|
|00002f40| 20 66 6f 72 20 79 6f 75 | 72 73 65 6c 66 21 0d 0d | for you|rself!..|
|00002f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f80| 2d 2d 2d 2d 0d 0d 45 6e | 64 69 73 70 69 65 63 65 |----..En|dispiece|
|00002f90| 2e 2e 2e 0d 0d 57 65 6c | 6c 2c 20 61 6c 6c 20 74 |.....Wel|l, all t|
|00002fa0| 68 61 74 20 77 61 73 20 | 64 6f 6e 65 20 61 62 6f |hat was |done abo|
|00002fb0| 75 74 20 74 68 72 65 65 | 20 6f 72 20 66 6f 75 72 |ut three| or four|
|00002fc0| 20 64 61 79 73 20 61 67 | 6f 2e 20 49 20 68 61 76 | days ag|o. I hav|
|00002fd0| 65 20 6e 6f 77 20 72 65 | 63 6f 76 65 72 65 64 20 |e now re|covered |
|00002fe0| 3a 2d 29 0d 0d 49 27 64 | 20 6c 69 6b 65 20 74 6f |:-)..I'd| like to|
|00002ff0| 20 74 68 61 6e 6b 20 52 | 6f 62 2c 20 43 6c 61 69 | thank R|ob, Clai|
|00003000| 72 65 20 61 6e 64 20 4a | 61 6d 65 73 20 66 6f 72 |re and J|ames for|
|00003010| 20 73 75 70 70 6f 72 74 | 2e 20 0d 4e 6f 74 20 6f | support|. .Not o|
|00003020| 6e 6c 79 20 66 6f 72 20 | 74 68 69 73 20 6c 69 74 |nly for |this lit|
|00003030| 74 6c 65 20 64 65 6d 6f | 2c 20 62 75 74 20 66 6f |tle demo|, but fo|
|00003040| 72 20 61 6c 6c 20 74 68 | 65 20 73 74 69 72 6c 69 |r all th|e stirli|
|00003050| 6e 67 20 77 6f 72 6b 20 | 74 68 65 79 20 64 6f 20 |ng work |they do |
|00003060| 6f 74 68 65 72 77 69 73 | 65 2e 0d 0d 0d 0d 50 6c |otherwis|e.....Pl|
|00003070| 65 61 73 65 20 6e 6f 74 | 65 20 74 68 61 74 3a 0d |ease not|e that:.|
|00003080| 31 2e 20 20 41 6c 6c 20 | 63 6f 64 65 20 63 6f 6e |1. All |code con|
|00003090| 74 61 69 6e 65 64 20 69 | 6e 20 50 46 34 31 30 20 |tained i|n PF410 |
|000030a0| 65 78 61 6d 70 6c 65 20 | 67 61 6d 65 20 69 73 20 |example |game is |
|000030b0| 63 6f 70 79 72 69 67 68 | 74 20 4c 69 67 68 74 73 |copyrigh|t Lights|
|000030c0| 6f 66 74 20 39 36 2e 0d | 0d 32 2e 20 53 6f 6d 65 |oft 96..|.2. Some|
|000030d0| 20 6f 66 20 74 68 65 20 | 63 6c 65 61 72 20 61 6e | of the |clear an|
|000030e0| 64 20 73 70 6c 61 74 20 | 72 6f 75 74 69 6e 65 73 |d splat |routines|
|000030f0| 20 63 61 6e 20 62 65 20 | 6f 70 74 69 6d 69 73 65 | can be |optimise|
|00003100| 64 20 66 75 72 74 68 65 | 72 20 2d 20 66 6f 72 20 |d furthe|r - for |
|00003110| 65 78 61 6d 70 6c 65 20 | 0d 79 6f 75 20 6d 61 79 |example |.you may|
|00003120| 20 66 69 6e 64 20 74 68 | 65 20 6f 64 64 20 6c 69 | find th|e odd li|
|00003130| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 69 6e 20 | instruc|tion in |
|00003140| 61 20 6c 6f 6f 70 2c 20 | 77 68 69 63 68 20 63 61 |a loop, |which ca|
|00003150| 6e 20 6d 6f 76 65 20 6f | 75 74 73 69 64 65 20 65 |n move o|utside e|
|00003160| 74 63 2e 0d 0d 46 65 65 | 6c 20 66 72 65 65 20 74 |tc...Fee|l free t|
|00003170| 6f 20 75 73 65 20 74 68 | 65 20 69 64 65 61 73 20 |o use th|e ideas |
|00003180| 63 6f 6e 74 61 69 6e 65 | 64 20 68 65 72 65 69 6e |containe|d herein|
|00003190| 2c 20 62 75 74 20 70 6c | 65 61 73 65 20 64 6f 20 |, but pl|ease do |
|000031a0| 6e 6f 74 20 73 69 6d 70 | 6c 79 20 70 75 73 68 20 |not simp|ly push |
|000031b0| 74 68 69 73 20 77 6f 72 | 6b 20 6f 75 74 0d 61 73 |this wor|k out.as|
|000031c0| 20 79 6f 75 72 20 6f 77 | 6e 2e 20 49 66 20 79 6f | your ow|n. If yo|
|000031d0| 75 20 75 73 65 20 70 6f | 72 74 69 6f 6e 73 20 6f |u use po|rtions o|
|000031e0| 66 20 74 68 65 20 67 61 | 6d 65 20 63 6f 64 65 20 |f the ga|me code |
|000031f0| 69 6e 20 79 6f 75 72 20 | 6f 77 6e 20 67 61 6d 65 |in your |own game|
|00003200| 73 2c 20 74 68 65 6e 20 | 79 6f 75 20 61 72 65 0d |s, then |you are.|
|00003210| 6c 65 67 61 6c 6c 79 20 | 6f 62 6c 69 67 65 64 20 |legally |obliged |
|00003220| 74 6f 20 73 74 61 74 65 | 20 74 68 61 74 20 70 6f |to state| that po|
|00003230| 72 74 69 6f 6e 73 20 6f | 66 20 74 68 65 20 63 6f |rtions o|f the co|
|00003240| 64 65 20 61 72 65 20 63 | 6f 70 79 72 69 67 68 74 |de are c|opyright|
|00003250| 20 4c 69 67 68 74 73 6f | 66 74 2e 0d 0d 54 68 61 | Lightso|ft...Tha|
|00003260| 6e 6b 79 6f 75 2e 0d 0d | 0d 2d 2d 2d 2d 2d 2d 2d |nkyou...|.-------|
|00003270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 00 00 00 |--------|----....|
|00003290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 00 01 00 00 00 09 f8 | 00 00 08 f8 00 00 00 8a |........|........|
|00003310| 67 0d 09 09 09 49 4d 50 | 4f 52 54 09 55 70 64 61 |g....IMP|ORT.Upda|
|00003320| 74 65 44 69 61 6c 6f 67 | 0d 09 09 65 6e 64 69 66 |teDialog|...endif|
|00003330| 0e 2a 2a 52 45 41 44 4d | 45 2a 2a 47 61 6d 65 2a |.**READM|E**Game*|
|00003340| 02 00 00 00 54 45 58 54 | 65 64 46 36 01 00 ff ff |....TEXT|edF6....|
|00003350| 00 00 54 45 58 54 65 64 | 46 36 01 00 ff ff ff ff |..TEXTed|F6......|
|00003360| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003370| 00 00 ae 45 3b 8a 00 00 | 32 0d 00 00 0a 82 6d 65 |...E;...|2.....me|
|00003380| 0d 09 09 09 49 4d 50 4f | 52 54 09 47 65 74 44 61 |....IMPO|RT.GetDa|
|00003390| 74 65 54 69 6d 65 0d 09 | 09 65 6e 64 69 66 0d 09 |teTime..|.endif..|
|000033a0| 0d 09 09 69 66 6e 64 09 | 47 65 74 54 69 6d 65 0d |...ifnd.|GetTime.|
|000033b0| 09 09 09 49 4d 50 4f 52 | 54 09 47 65 74 54 69 6d |...IMPOR|T.GetTim|
|000033c0| 65 0d 09 09 65 6e 64 69 | 66 0d 09 0d 09 09 69 66 |e...endi|f.....if|
|000033d0| 6e 64 09 53 65 63 6f 6e | 64 73 54 6f 44 61 74 65 |nd.Secon|dsToDate|
|000033e0| 0d 09 09 09 49 4d 50 4f | 52 54 09 53 65 63 6f 6e |....IMPO|RT.Secon|
|000033f0| 64 73 54 6f 44 61 74 65 | 0d 09 09 65 6e 64 69 66 |dsToDate|...endif|
|00003400| 00 00 08 00 04 10 00 00 | 00 00 0c 56 34 2e 31 30 |........|...V4.10|
|00003410| 20 28 41 75 74 6f 29 0c | 56 34 2e 31 30 20 28 41 | (Auto).|V4.10 (A|
|00003420| 75 74 6f 29 00 00 00 00 | 00 00 00 00 00 00 00 00 |uto)....|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 00 00 00 00 00 00 7c | 46 69 6c 65 20 63 72 65 |.......||File cre|
|00003c10| 61 74 65 64 20 77 69 74 | 68 20 45 64 64 69 65 aa |ated wit|h Eddie.|
|00003c20| 20 66 72 6f 6d 20 4c 69 | 67 68 74 73 6f 66 74 20 | from Li|ghtsoft |
|00003c30| a9 20 31 39 39 35 2e 54 | 68 65 20 77 6f 72 6c 64 |. 1995.T|he world|
|00003c40| 73 20 66 61 73 74 65 73 | 74 20 45 64 69 74 6f 72 |s fastes|t Editor|
|00003c50| 2e 20 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |. ......|........|
|00003c60| 00 00 00 00 91 1a 00 04 | 00 00 00 00 00 00 01 2a |........|.......*|
|00003c70| 02 3a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.:......|........|
|00003c80| 00 00 00 00 00 00 00 70 | 00 01 00 00 00 01 00 00 |.......p|........|
|00003c90| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 4c 49 44 45 20 50 | 4d 20 56 31 2e 30 30 20 |..LIDE P|M V1.00 |
|00003ce0| 28 43 29 20 4c 69 67 68 | 74 73 6f 66 74 20 55 4b |(C) Ligh|tsoft UK|
|00003cf0| 20 31 39 39 35 2f 36 2e | 00 00 01 00 00 00 09 f8 | 1995/6.|........|
|00003d00| 00 00 08 f8 00 00 00 8a | 00 d1 45 18 0f 10 00 00 |........|..E.....|
|00003d10| 00 1c 00 5a 00 02 76 65 | 72 73 00 00 00 1a 45 64 |...Z..ve|rs....Ed|
|00003d20| 64 69 00 00 00 26 4c 69 | 56 72 00 00 00 32 00 01 |di...&Li|Vr...2..|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 12 00 00 |........|........|
|00003d40| 08 04 00 00 00 00 00 80 | 00 1e 00 00 08 84 00 00 |........|........|
|00003d50| 00 00 11 4d 61 63 20 45 | 64 64 69 65 20 76 65 72 |...Mac E|ddie ver|
|00003d60| 73 69 6f 6e 0b 45 64 64 | 69 65 20 70 72 65 66 73 |sion.Edd|ie prefs|
|00003d70| 11 4c 49 44 45 20 50 72 | 6f 6a 20 76 65 72 73 69 |.LIDE Pr|oj versi|
|00003d80| 6f 6e 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |on......|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+